I have a custom circuit board using the DA14580-01 and an external I2C EEPROM that I want to boot from connected to pins 0_0 and 0_1 (SCL, SDA, respectively). I have gone through AN-B-023 and customized the jtag_programmer.hex and created a new .bin file as explained in the document. In SmartSnippets, I connect my board to the Basic Dev Kit in JTAG mode as a DA14580-01 device, and then try to load my .hex file from a modified version of the reporter_fh example code in the SPI Flash Programmer section of SmartSnippets, and it burns succesfully.
However, if I reconnect the JTAG device (without power off) in SmartSnippets, and then try to read the data, it is empty. If I reset or power cycle the board, it appears to go into an infinite loop and never boots. The code works, so I think there must be something wrong. Here are my connections:
J4 Header pin | Custom Board (DA14580-01 pin)
P1 | VPP
P2 | GND
P3 | RST
P12 | P0_4
P14 | P0_5
P25 | SWDIO
P27 | SWCLK
I have tried EEPROM Programmer in SmartSnippets, but it says "Memory burning failed". I have also tried swapping the TX/RX pins. What am I doing wrong? Sorry I wish I could post pictures to make it easier! Thanks!