Dec 29, 2017
10:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 29, 2017
10:32 AM
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.
Solved! Go to Solution.
Labels
1 Solution
Feb 08, 2018
10:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 08, 2018
10:32 AM
OK, so I found the problem. I forgot I had the Watchdog timer running - so yeah - shot myself in the foot.
Mike.
2 Replies