Search found 74 matches
- Wed Sep 12, 2018 9:18 am
- Forum: Development Tools and Programming
- Topic: XUEF216-512-TQ128-C20 Field update
- Replies: 8
- Views: 3307
Re: XUEF216-512-TQ128-C20 Field update
Hi asihvo, If I'm following your thread correctly, the fl_startImageReplace is completing with a return code 0, however when you go on to write into that sector with fl_writeImagePage at some point the write fails. I guess the first thing to check is if the 0 return from fl_startImageReplace is vali...
- Tue Mar 06, 2018 10:33 am
- Forum: Other Applications
- Topic: How to use one bit of 4b port as PORT_I2S_DAC0 (PORT_I2S_ADC0)
- Replies: 6
- Views: 4743
Re: How to use one bit of 4b port as PORT_I2S_DAC0 (PORT_I2S_ADC0)
Hi Susanyin0501, You can declare a 4-bit port as normal and then use bit shifting to toggle the bits on the port that you want to send. The XS1 function peek is also useful in this instance to maintain the state of the other bits of the port. EG: on tile [0]: out port my_shared_port = XS1_PORT_4B; #...
- Fri Feb 02, 2018 2:45 pm
- Forum: Development Tools and Programming
- Topic: Boot issue on custom board with tools 14.3.2
- Replies: 2
- Views: 2746
Re: Boot issue on custom board with tools 14.3.2
Hi Bearcat The SM16 XN looks sound. I've attached a copy of xlreg (you will need to remove the .txt extension) which will dump out the state of all the registers when boot has failed. With the device powered up and booting from flash, use xgdb to attach to the device, source xlreg and then run xlreg...
- Mon Sep 11, 2017 9:03 am
- Forum: Development Tools and Programming
- Topic: XFlash libcompressor time - large data array in program
- Replies: 6
- Views: 6407
Re: XFlash libcompressor time - large data array in program
The only ramification is that your flash image will occupy more space in flash memory and therefore you can not fit as many images into flash. Depending on the size of your image and the amount of compression you might have attained, your boot time may be marginally faster or slower (time to read fr...
- Tue Jul 11, 2017 9:32 am
- Forum: Development Tools and Programming
- Topic: program which tile is USB tile?
- Replies: 2
- Views: 3599
Re: program which tile is USB tile?
Hi Bill, You will need to define both. If you do not give -DUSB_TILE then it is assumed the USB device is attached to tile[0] and all ports used are also on tile[0] (see module_xud/include/xud.h) You must specify the USB node in you XN file as this describes your network and therefore the routing of...
- Fri Jul 07, 2017 8:50 am
- Forum: Development Tools and Programming
- Topic: Building to hex etc. file and flashing from that file without rebuilding
- Replies: 7
- Views: 8862
Re: Building to hex etc. file and flashing from that file without rebuilding
Hi aclassifier, I've done a little digging and it seems that you cannot use the GUI to perform --write-all, --read-all or --erase-all functions with xflash. The GUI xflash configuration automatically adds the xcore binary (*.xe) to the xflash command line. In doing so it forces you to either program...
- Wed Jul 05, 2017 2:40 pm
- Forum: Development Tools and Programming
- Topic: Building to hex etc. file and flashing from that file without rebuilding
- Replies: 7
- Views: 8862
Re: Building to hex etc. file and flashing from that file without rebuilding
Same as above but with the last set to --write-all _Aquarium_1_x.bin When you say same as above, do you have --write-all and -o in the same xflash command set? If so then this is what would give you the mutually exclusive options error. You cannot output a file and write a file to flash memory at t...
- Wed Jul 05, 2017 9:58 am
- Forum: Development Tools and Programming
- Topic: Building to hex etc. file and flashing from that file without rebuilding
- Replies: 7
- Views: 8862
Re: Building to hex etc. file and flashing from that file without rebuilding
Hi aclassifier
You can use xflash option -o to output your flash image to file, i.e: xflash my_prog.xe -o my_flash_prog.bin
You can then use xflash option --write-all to write your binary file to flash memory, i.e.: xflash --write-all my_flash_prog.bin --target=XCORE-200-EXPLORER
Best Wishes,
Colin
You can use xflash option -o to output your flash image to file, i.e: xflash my_prog.xe -o my_flash_prog.bin
You can then use xflash option --write-all to write your binary file to flash memory, i.e.: xflash --write-all my_flash_prog.bin --target=XCORE-200-EXPLORER
Best Wishes,
Colin
- Thu Jun 15, 2017 11:43 am
- Forum: Development Tools and Programming
- Topic: Need help using new flash device
- Replies: 6
- Views: 9506
Re: Need help using new flash device
Hi Kaphely
You can store your spi-spec file anywhere you choose. When you use xflash be sure to pass the spi-spec file in with your xflash command. i.e. xflash my_xe --spi-spec=path/to/my/spi-spec.
Best Wishes
Colin
You can store your spi-spec file anywhere you choose. When you use xflash be sure to pass the spi-spec file in with your xflash command. i.e. xflash my_xe --spi-spec=path/to/my/spi-spec.
Best Wishes
Colin
- Fri Jun 09, 2017 9:39 am
- Forum: Development Tools and Programming
- Topic: xflash: Warning: F03148 --quad-spi-clock not given, using default 15.62MHz
- Replies: 11
- Views: 14969
Re: xflash: Warning: F03148 --quad-spi-clock not given, using default 15.62MHz
Hi Simon, This is the spi spec file for the ISSI_IS25LQ016B...if this is not the QSPI device you are using then let me know which device you are using and I can point you at the right one. Alternatively you can look in the xTIMEcomposer install directory and then target/include/QuadSpecMacros.h for ...