- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a big issue, I have realize a project for CYBLE-13025 and i transfer it to my new hardware, but sometime after a cycle power it seems that my project disapear cause I need to make a recovery procedure to let the system work again. I'm working with the NVRAM and changhing the BD_ADDRES of my system when I program each chip. I have tried to program the chip in different ways EEPROM, SFLASH, using wiked smart IDE or using cgs and chipload software. Expacially using Cgs and chpload I have this issue, and the only situation in which it seems that I don't have the issue iwhen I write my project on SFLASH using wiked-smart but maybe thi is only an impression.
My questions are:
- is there any software issue that could cause the project lost?
- Which are the hardware event that could cause this issue?
- if the reset line make a transition during boot could cause this issue?
Thanks
Emanuele
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Emanuele,
From your description, below is my thoughts on this issue.
1. 'after a cycle power it seems that my project disappear' - Could you please let me know how you confirmed project disappeared? Does it mean your application is not running or you tried reading back flash confirming code is corrupted or something?
2. 'I need to make a recovery procedure to let the system work again' - Could you please clarify the recovery procedure which you have mentioned? Is it like reprogramming the chip or pressing reset button?
For your questions:
- is there any software issue that could cause the project lost? - Since you are using WICED tools for downloading I don't think the issue will be on Software tool side. But may be some application specific issue as well. But to answer to this question, please clarify my above doubts.
- Which are the hardware event that could cause this issue? - I am not sure about this
- if the reset line make a transition during boot could cause this issue? - If the issue is such a way that your application is not running for a while , and its functioning back after a factory reset on the chip , then the issue may be that the device was on recovery mode. For example , if the reset pin have a transition while the recovery pin (either I2C pin if EEPROM , SPI pin for SFlash (Refer EVAL board schematics for recovery pin connection - http://www.cypress.com/documentation/development-kitsboards/cyble-013025-eval-ez-ble-module-arduino-... )) goes low (and high after the reset press over), then the chip will enter in to auto baud mode where it will stop running the application (considering memory got corrupted) and will wait for a new program download. If you press the reset button again , the device will be back to the application mode. I suspect this would have happened in your case. Please check your hardware and application with respect to this logic.
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
I answer to your question:
1. 'after a cycle power it seems that my project disappear' - Could you
please let me know how you confirmed project disappeared? Does it mean
your application is not running or you tried reading back flash
confirming code is corrupted or something? I don't have my project
anymore, I try cycle power, make a transition on reset pin, but the only
way to have my project running again is to press set the recover signal
low then make a transition on reset pin then leave the reset pin. After
that I have to send my project with the recover command.
2. 'I need to make a recovery procedure to let the system work again' -
Could you please clarify the recovery procedure which you have
mentioned? Is it like reprogramming the chip or pressing reset button?I
make the recovery procedure as it is esplaind in the
AN220929_Getting_Started_with_EZ-BLE_WICED_Modules.pdf page 40.
Regarding the software issue I'm not speaking about something regarding
the development tools, but something regarding my application, wrong use
of the pointer, NVRAM management or something else.
I could double check my logic and hardware, but as explained before if I
just make a reset operation the project doesn't start again, it seems
that the memory got corrupted, but I don't understand why and especially
why so easily.
thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Emanuele,
Do you have a CYBLE-013025-EVAL board with you? If then, can you please try your application code on the EVAL board and see if the issue persists?
If possible please share your project , so that we can try it on our side to replicate the issue.
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
I have a demo board, the issue is that my project use different GPIO to
manage the button and the led, I can try to change the project, in any
case I would like to understand which could be the reasons that could
casue this type of issue.
Now I'm going to change something on my project to adpt it to the demo
board.
Thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
I have made some test with the demo board and it seem I have encountered
the same issue.
I can send you the project but to test it you need two board one that
have to work as peripheral and one as central. In my board I have an
input that discriminate it in the demo you have to
force the ClientBoard variable. To get connection between the two board
is necessary to switch on the board with the button pressed.ù
Thanks and regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I tried reproducing the issue at my side. But no success.
Is that issue still persists? Could you please share the steps , also the project folders for both Central & Peripheral?