Ai-Thinker-Open / GPRS_C_SDK

Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
https://ai-thinker-open.github.io/GPRS_C_SDK_DOC
MIT License
449 stars 236 forks source link

A9 stops working after several resets #515

Open faithware opened 2 years ago

faithware commented 2 years ago

I have been using the A9 chip for a good 4 years. I have circumvented several issues with the SDK but I can't find the solution for stopping. When power is down and the battery is running low, the A9 chip will reset all the time until it stops and can't work again until the device is reflashed. [12:03:17.357] : Detected event: 0xffffffff [12:03:17.449] : Detected event: 0xf07a0000 [12:03:17.489] : Detected event: 0xf07a0002 [12:03:17.489] : Detected event: 0x89550002 [12:03:17.499] : Detected event: 0xfe900800 [12:03:17.499] : Detected event: 0xfe901b00 [12:03:17.519] : Detected event: 0x00000004 [12:03:17.520] : Detected event: 0x66660021 [12:03:17.520] : Detected event: 0x0000000f [12:03:17.520] : Detected event: 0x00000000 [12:03:17.527] : Detected event: 0x001660c8

Is there a solution for this? Has anyone encountered this?

garudaonekh commented 2 years ago

@faithware do you figure out why? I faced this same issue as well which I just reflashed it.

faithware commented 2 years ago

@garudaonekh the system reset event should happen after this one, it looks like it is hanging there, I suppose it is a boot loader issue. In the board I have I have added a microcontroller to monitor the power supply and cut off the power when the battery voltage is under 3.6V. So that the A9 doesn't reset multiple times because of low power. I am assuming the reset happening too many times will make the bootloader fail. It is only speculations and we hope that @Neutree has a solution for this.

peterjschulze commented 2 years ago
Hi All We have about 20 devices in the field for over 2 years now.We connect the power supply(mains) to the usb connector and a battery to the battery connections on the board, we have no issues. If the battery voltage drops below 3.2v the device switches off and restarts without issue when the usb power returns. Thank you, hope this helps. Peter Sent from Mail for Windows From: Gnichi MohamedSent: Monday, 20 June 2022 10:47To: Ai-Thinker-Open/GPRS_C_SDKCc: SubscribedSubject: [Ai-Thinker-Open/GPRS_C_SDK] A9 stops working after several resets (Issue #515) I have been using the A9 chip for a good 4 years.I have circumvented several issues with the SDK but I can't find the solution for stopping.When power is down and the battery is running low, the A9 chip will reset all the time until it stops and can't work again until the device is reflashed.[12:03:17.357] : Detected event: 0xffffffff [12:03:17.449] : Detected event: 0xf07a0000 [12:03:17.489] : Detected event: 0xf07a0002 [12:03:17.489] : Detected event: 0x89550002 [12:03:17.499] : Detected event: 0xfe900800 [12:03:17.499] : Detected event: 0xfe901b00 [12:03:17.519] : Detected event: 0x00000004 [12:03:17.520] : Detected event: 0x66660021 [12:03:17.520] : Detected event: 0x0000000f [12:03:17.520] : Detected event: 0x00000000 [12:03:17.527] : Detected event: 0x001660c8—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> 
Vetal7979 commented 10 months ago

was there any solution? I have a device powered from a 12V car socket that periodically works exactly the same way. Without flashing, further work is impossible

faithware commented 10 months ago

I don't advise you to use this chip for commercial projects. I have sold 200 pcs, at least half of those have the same problem. It is unbelievable.

On Thu, 25 Jan 2024, 13:39 Vetal7979, @.***> wrote:

was there any solution? I have a device powered from a 12V car socket that periodically works exactly the same way. Without flashing, further work is impossible

— Reply to this email directly, view it on GitHub https://github.com/Ai-Thinker-Open/GPRS_C_SDK/issues/515#issuecomment-1910121016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJE6DQCARF7SII6ED54CINTYQJHABAVCNFSM5ZIDU3IKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJRGAYTEMJQGE3A . You are receiving this because you were mentioned.Message ID: @.***>