Bootloader (AN2606) questions. WRITE needs word aligned start addys?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2009-05-24 11:04 PM
Posted on May 25, 2009 at 08:04
Bootloader (AN2606) questions. WRITE needs word aligned start addys?
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 4:12 AM
Posted on May 17, 2011 at 13:12
Hi,
I'm working on an open source host program to talk to the UART bootloader as defined in ST AN2606. Question 1: Does WRITE MEMORY require word aligned start addresses?? I ran into a problem with WRITE MEMORY on test packets of 10 data bytes... starting with my second packet, instead of getting the data I thought I wrote (and got acked) the Flash had 00 00 ff ff for the first 4 bytes of each packet. And occasional crashiness (requiring reset.) I don't think I got NACKS doing this. Problem seems to have gone away with packet sizes of 16 or 128. I suspect that this is because the start addresses are word aligned, but I'd like some confirmation that this was really going on. Question number 2: Is there a good way to detect that autobaud has already been run? What would be really nice would be for the 7F to get ACKed even if the autobaud had been already run. But I don't think this is happening. I've got a workaround in the form of a --skipautobaud flag, but I'd like to just have the host work no matter what. Question number 3: How many program/erase cycles is this part really good for? I'm using a STM3210E-eval board with a STM32F103ZET6, boot loader version reports 0x21 chip id reports 0x04 0x14. Cheers, Alex