Booting sequence from extern flash pin

Learn MoreFAQsTutorials

3 posts / 0 new
Last post
lewuyouc
Offline
Last seen:1 year 5 months ago
加入:2016-07-18 01:38
Booting sequence from extern flash pin

Hi

I made the DA14580 new board with external eeprom and external flash. we defineSCK->P0_4,CS->P0_3,MOSI->P0_5,MISO->P0_6;

SCL->P1_2,SDA->P1_3, I burn the program but it can't work. If we use jlink debug mode,it work normal. we check the hardware seem

right. I do not know how to solve it, please help me.

I define the SPI and EEPROM pin is wrong? The SPI Pin only define as: SCK->P0_0,CS->P0_3,MOSI->P0_5,MISO->P0_6 or SCK->P0_0,CS->P0_1,MOSI->P0_3,MISO->P0_2? other is all worng for DA14580?

Thanks!

Keywords:
Device:
PM_Dialog
Offline
Last seen:51 min 1 sec ago
工作人员
加入:2018-02-08 11:03
Hi lewuyouc,

Hi lewuyouc,

The DA14580 boots from standard GPIOs, that why you are not able to boot. Please check the Table 1: Pin assignment and booting sequence from external devices fromAN-B-001 : DA14580/581/583 Booting from serial interfacesdocument and you will find that you are using different GPIOs for booting. In case of booting from an external SPI Flash and you would like to use the GPIOs as they are in your custom design, you should use the secondary bootloader in order to boot. Please check theUM-B-012 DA14580/581/583 Creation of a secondary boot loaderdocument. In case of booting from EEPROM, you should check the GPIOs according to Table 1 of AN-B-001 document.

Thanks, PM_Dialog

GGQ_in
Offline
Last seen:2 months 6 days ago
加入:2019-07-23 04:41

Hi,

I want to start with the second set of SPI Master pins for the DA14580 module,but failed.Do I need to remove the jumpers from pin header J26 P0_2,P0_3, which connect the UART CTS/RTS signals and would otherwise conflict with the MISO and MOSI functions.

Otherwise,If I use the board by myself(flash pins has change) Secondary_bootloader needs to burn to OTP image? And the Secondary_bootloader define SUPPORT_AN_B_001?

Do I need to power the module directly to 6.8V when I do the OTP test? Or 3.3V before 6.8V. If so, what is the procedure?Is the power powered by DEBUG or by battery?

Thanks.