Flash programming startKIT
Posted: Fri Nov 03, 2017 12:53 pm
Apologies for what seems to be a basic question, but I have not managed to write my startKIT program into persistent flash storage.
I have a project that was initially targeted at the XK-1A development kit. After updating the port mappings, it runs correctly on the startKIT (when "Run" through xtimecomposer. If I try and flash it from xtc or from the command line I get:
Error on tile[0]: failed to connect to flash device. Please verify that SPI type is supported and that the correct SPI ports are defined within your xn file.
I believe this is because the .xn file I have in my project is still for the XK-1A (so understandable that there could be problems), but I cannot find how/where to alter my project to use the correct .xn file. I couldn't spot anything relevant in the docs - can anyone advise? The XK-1A.xn file in my project seems in some way "blessed", since right-clicking does not allow me to remove it.
I tried explicitly specifying the target when flashing from the command line:
xflash --target=STARTKIT --id 0 /path/to/my.xe
but I get a warning:
Warning: F03130 --target/--target-file options ignored when an XE file is given
Nevertheless it seems to program successfully... but the startKIT stays dark and does not seem to be running my program, so I am not sure what has happened there.
Can anyone help?
I have a project that was initially targeted at the XK-1A development kit. After updating the port mappings, it runs correctly on the startKIT (when "Run" through xtimecomposer. If I try and flash it from xtc or from the command line I get:
Error on tile[0]: failed to connect to flash device. Please verify that SPI type is supported and that the correct SPI ports are defined within your xn file.
I believe this is because the .xn file I have in my project is still for the XK-1A (so understandable that there could be problems), but I cannot find how/where to alter my project to use the correct .xn file. I couldn't spot anything relevant in the docs - can anyone advise? The XK-1A.xn file in my project seems in some way "blessed", since right-clicking does not allow me to remove it.
I tried explicitly specifying the target when flashing from the command line:
xflash --target=STARTKIT --id 0 /path/to/my.xe
but I get a warning:
Warning: F03130 --target/--target-file options ignored when an XE file is given
Nevertheless it seems to program successfully... but the startKIT stays dark and does not seem to be running my program, so I am not sure what has happened there.
Can anyone help?