Skip to main content
Visitor II
December 10, 2021
Question

STM32L07xx I2C BOOTLOADER. Write operation limited to half-page.

  • December 10, 2021
  • 0 replies
  • 514 views

On a STM32L071 using preloaded bootloader enabled via BOOT0 lead, I can perform a write operation, but due to software constrain I cannot write more then 32 byte by time. So after a complete erase, I repeat several write operation, 4 for every page. Tprog time is respected.

Both write operations respond with a ACK signal. I notice that only the first operation succeed , the second one leave the rest of the half-page blank.

| Address || 32 bit | 32 bit | 32 bit | 32 bit |"
| 0x08000000 || 0x00000000 | 0x11223344 | 0xAABBCCDD | 0xC1A0C1A0 | - OK"
| 0x08000010 || 0x00000000 | 0x55667788 | 0xCAFEBEEF | 0xBABEBABE | - OK"
| 0x08000020 || 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | - OK"
| 0x08000030 || 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | - OK"
| 0x08000040 || 0x00000000 | 0x11223344 | 0xAABBCCDD | 0xC1A0C1A0 | - OK"
| 0x08000050 || 0x00000000 | 0x55667788 | 0xCAFEBEEF | 0xBABEBABE | - OK"
| 0x08000060 || 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | - OK"
| 0x08000070 || 0x00000000 | 0x00000000 | 0x00000000 | 0x00000000 | - OK"

    This topic has been closed for replies.