STM32 I2C bootloader issue
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-05-16 11:12 PM
Posted on May 17, 2016 at 08:12
hi all,
I have a program to use a USB2I2C bridge to program the STM32L4 via I2C protocol. Now I face a problem when I try to implement the protocol. When I send ''Get''(0x00, 0xff), I can receive the NAK. But I cannot receive any other data. anyone try this I2C bootloader before? I check the stm32flash, but not many hints from that. thanks i2c-bootloader
Labels:
- Labels:
-
I2C
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
2016-05-17 4:00 AM
Posted on May 17, 2016 at 13:00
Hi jiang.peng,
If a denied command is received, or if an error occurs during the command execution, the bootloader sends a NACK byte and goes back to command checking. Check if the RDP status, it should be disabled, otherwise all other commands are nacked
I recommend you to have a look to the
application note about I2C protocol used in the STM32 bootloader
-Hannibal-
