Dear Sir,
I have changed the pin assignments for the flash which runs the program.
下面的列表是映射。
SPI_CS P0_3 --> P0_2
SPI_CLK P0_0 --> P2_1
SPI_DO P0_5 --> P0_3
SPI_DI P0_6 --> P0_4
I only change the pin assignments in user_peripheral.h and I also find there is no reference for these SPI PIN definitions.
After downloading the program through SmartSnippets (SPI Flash pin Configuration has been adjusted accordingly), the program seems not be able to run.
Could you tell me the mechanism for DA14580 to load the program codes from different pin allocation and a different flash?
What else should I do in the coding.
Best regards,
Simon
Keywords:
Device:
Hi Simon Wang,
I dont fully understand the question, anyway as far as i can tell you are trying to boot from SPI pins that are not supported from the ROM bootloader, the 580 can only boot from a specified pair or pins (that functionallity is fixed and defined by the bootloader and cannot be changed) the port/pin pairs are described in the AN-B-001 - Booting from serial interfaces.pdf so would recommend to check this document first.
Thanks MT_dialog