Closed mbta009 closed 4 years ago
this is GitHub if you have an issue you should post your code here. my guess is that your freeRTOS heap size is not enough. try increasing your heap size.
also when the kernel starts it doesn't get past that function and the defined tasks start to get executed.
@danyhm OK. This link is my code ( main.c in Src ). Thank you for checking that. my Stm32cubemx file Also attached. FreeRTOs heap size is 3072 B Thanks @danyhm
@mbta009 I took a look at your code and it's wrong. you need to call sim80x_init() in your app (a freertos task). i suggest reading more about RTOS and how to work with it, there're a lot of resources and examples online
Hello guys. your heap size is too low. And add init function in a task.
@danyhm I did an investigation for FreeRTOS concepts, but I have a few questions about it. To add a task, should I do this from cubemx? or Need to add code? @nimaltd Thanks for joining us. What is the value for setting heap size? use STM32F103RBT6 Another question about FreeRTOS, when I use RTOS, other parts of the code are also written as Task? Is it possible to suspend it after using the SIM800_V2 library and RTOS? And the get out kernel and when it necessary to return to it anyway? Thanks.
I think minimum must be 8192 bytes. and Please read more about FreeRTOS :)
Good day. there are problems too. Could you set an example freertos + keil? I would be very grateful. trying to run gprs with tcp / ip Thank!
I am getting following error GSM_v2 library.
Could you please share the fix this issue
Helli. Whst is your module. You simcsrd is ok? This library work fine. I dont know why you have that problemOn May 6, 2019 9:43 PM, PrabhuNatarajanN notifications@github.com wrote: I am getting following error GSM_v2 library. Could you please share the fix this issue
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
Dear Nimaltd,
I am tested sim800 V1 working fine. i try to use version memory initialize error came and not able to read.
SIM900 A6 module.
Thanks Prabhu Natarajan
On Tue, May 7, 2019 at 12:13 AM Nima Askari ----- نیما عسکری < notifications@github.com> wrote:
Helli. Whst is your module. You simcsrd is ok? This library work fine. I dont know why you have that problemOn May 6, 2019 9:43 PM, PrabhuNatarajanN notifications@github.com wrote: I am getting following error GSM_v2 library. Could you please share the fix this issue
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nimaltd/Sim800_V2/issues/5#issuecomment-489730282, or mute the thread https://github.com/notifications/unsubscribe-auth/AMAA6M5TCOZQFDJQVVN5LRTPUB36DANCNFSM4FT4MPAQ .
Its work with sim800On May 7, 2019 9:03 AM, PrabhuNatarajanN notifications@github.com wrote:Dear Nimaltd,
I am tested sim800 V1 working fine. i try to use version memory initialize
error came and not able to read.
SIM900 A6 module.
Thanks
Prabhu Natarajan
On Tue, May 7, 2019 at 12:13 AM Nima Askari ----- نیما عسکری <
notifications@github.com> wrote:
Helli. Whst is your module. You simcsrd is ok? This library work fine. I
dont know why you have that problemOn May 6, 2019 9:43 PM, PrabhuNatarajanN
notifications@github.com wrote:
I am getting following error GSM_v2 library.
Could you please share the fix this issue
—You are receiving this because you were mentioned.Reply to this email
directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nimaltd/Sim800_V2/issues/5#issuecomment-489730282,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMAA6M5TCOZQFDJQVVN5LRTPUB36DANCNFSM4FT4MPAQ
.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
Dear Nimaltd,
Thanks for fast reply.
Regards Prabhu Natarajan
On Tue, May 7, 2019 at 10:33 AM Nima Askari ----- نیما عسکری < notifications@github.com> wrote:
Its work with sim800On May 7, 2019 9:03 AM, PrabhuNatarajanN < notifications@github.com> wrote:Dear Nimaltd,
I am tested sim800 V1 working fine. i try to use version memory initialize error came and not able to read.
SIM900 A6 module.
Thanks Prabhu Natarajan
On Tue, May 7, 2019 at 12:13 AM Nima Askari ----- نیما عسکری < notifications@github.com> wrote:
Helli. Whst is your module. You simcsrd is ok? This library work fine. I dont know why you have that problemOn May 6, 2019 9:43 PM, PrabhuNatarajanN notifications@github.com wrote: I am getting following error GSM_v2 library. Could you please share the fix this issue
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nimaltd/Sim800_V2/issues/5#issuecomment-489730282, or mute the thread < https://github.com/notifications/unsubscribe-auth/AMAA6M5TCOZQFDJQVVN5LRTPUB36DANCNFSM4FT4MPAQ>
.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nimaltd/Sim800_V2/issues/5#issuecomment-489909390, or mute the thread https://github.com/notifications/unsubscribe-auth/AMAA6M7Z34AS4MIWRQWXSXTPUEESLANCNFSM4FT4MPAQ .
shall we can use this library GPRS with MQTT application?
NopOn May 7, 2019 11:43 AM, PrabhuNatarajanN notifications@github.com wrote:shall we can use this library GPRS with MQTT application?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
Hello and respect If possible, share some code samples for sim800_V2. I have little experience with FreeRTOS and newbie in STM32. By the command that you said the library file was added to the code. After the program and code testing, the osKernelStart function hangs. I am a Persian user, is it possible to subscribe to another social network ID for share my code for you? part of code was important that commented under text. use STM32F103RBT6 //** Sim80x_Init(osPriorityLow); MX_FREERTOS_Init(); osKernelStart(); // hang up on this function //***** Thank you, Barati mahdi2barati@gmail.com