![]() This application note describes a method of in-circuit programming of FLASH memory via the Universal Serial Bus for. ![]() The board is connected using the UEXT connector.In-Circuit Programming of FLASH Memory via. ![]() The steps should also work with a iCE40HX1K-EVB. This example uses the OLIMEXINO-32U4 to flash a Olimex iCE40HX8K-EVB. If you try this, let me know! Flashing iCE40HX8K-EVB from Olimex Python3 spi_flash_programmer_client.py -f -flash-offset 16711680 -file-offset 4128768 verify Python3 spi_flash_programmer_client.py -f -flash-offset 16711680 -file-offset 4128768 write Write the ART partition to the final 64k of the chip (the magic numbers are 16M-64K and 4M-64K respectively). Python3 spi_flash_programmer_client.py -s 4096 -f verify Python3 spi_flash_programmer_client.py -s 4096 -f write Python3 spi_flash_programmer_client.py -s 4096 -f read I guess if you do a system upgrade which puts the kernel image somewhere after the first 4MB you might be in trouble, so upgrade u-boot before doing that. So all you need to do is copy the image and write the ART (wireless firmware) partition to the right spot, which is right at the end of Flash. U-Boot still thinks the chip is 4MB large, but Linux doesn't seem to care. Recent versions of OpenWRT detect the larger Flash and automatically use it, so you don't need to do any patching. I used this to write a 16MB flash chip for the wr703n router running OpenWRT. To the extent possible under law, the authors below have waived all copyright and related or neighboring rights to spi-flash-programmer. You'll have to edit the value in both the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |