Boot from I2C flash

5 posts / 0 new
Last post
Liviu
Offline
Last seen: 5 years 9 months ago
Expert
Joined: 2014-04-01 15:05
Boot from I2C flash

Hello Dialog,

We want to write the firmware to a I2C based flash and have the DA14580 -00 boot from there, but we were unable to do so. What exactly do we need to store in the flash in order to be recognized and booted by the chip?

Thanks,
Liviu

JE_Dialog
Offline
Last seen: 1 day 19 hours ago
Staff
Joined: 2013-12-05 14:02
Hello Livio, for booting from

Hello Livio, for booting from Flash or other serial interface, please take a look at apps note AN-B-001. This describes the set-up for booting from serial interface. The DA14580 has a mechanism whereby in the OTP header file it recognises whether to boot from OTP or boot from external (called development mode) and then there is a sequence to detect & boot from i2c/UART/SPI etc...
I would recommend migrating to -01 Silicon. There are several reasons : the SDK is much much better, there are more tools in the smart snippets to support external EEPROM/FLASH programming, patching , SUOTA etc.. on 01. We will swap the daughterboards free of charge. I will send you a message on that. Kind regards, JE_Dialog

Liviu
Offline
Last seen: 5 years 9 months ago
Expert
Joined: 2014-04-01 15:05
Hi,

Hi,

We were able to boot from I2C, but the program execution is not right. When writing the firmware to the I2C flash, do we pad with 0x00 addresses that are not specified in the .hex file?
Right now we cannot switch to the new revision of the chip because we have our prototypes are based on a Murata module which uses -00 version of the chip.

Liviu
Offline
Last seen: 5 years 9 months ago
Expert
Joined: 2014-04-01 15:05
Update,

Update,

I believe the issue we were having was due to corruption in most part. We got a few units working perfectly fine (as far as we can tell so far) so it must be something wrong with the way we are writing to the device. Thanks.

JE_Dialog
Offline
Last seen: 1 day 19 hours ago
Staff
Joined: 2013-12-05 14:02
Dear Liviu, many thanks for

Dear Liviu, many thanks for the feedaback that you hae found the issue. Regards JE_Dialog