Em_EEPROM causing device reset

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiSt_296941
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

I have run into a weird situation.  I am downloading Firmware for another PSoC via USB and storing it in FLASH - later I will bootload the other PSoC with this saved firmware.  To be more efficient, I am buffering the download from the USB and writing using Em_EEPROM in 256 byte chunks.  At then end, I have 10 bytes left to write and when I call Em_EEPROM with that last 10 bytes, it never returns from the call and reboots!  If I change the last write to 256 bytes, it writes to Flash and doesn't reboot!

Mike.

0 Likes
1 Solution

OK, so I found the problem.  I forgot I had the Watchdog timer running - so yeah - shot myself in the foot.

Mike.

View solution in original post

0 Likes
2 Replies