antsdr-fw
antsdr-fw copied to clipboard
how to download the framwork to flash ?
i follow the tutorial, build the lastest source code, and set the jumper into Flash Boot mode, update the u-boot and kernel successfuly. when i try to modify u-boot code, i rebuild it with no error, and trying to download. i think i only need to update u-boot and envs. so i just type cmd like:
sudo dfu-util -a boot.dfu -D ./boot.dfu sudo dfu-util -a uboot-env.dfu -D ./uboot-env.dfu
after repower, uart has nothing to output. i try to use old sd card boot, it can be go into uboot but can not into DFU mode by push the button.
my question is: how can i update the image in flash ? using jtag ? has any tutorial?
thx.
Can you enter into dfu mode now? If you can't enter into dfu mode, you can follow these steps to program the flash:
- set the jumper into jtag mode and power on the antsdr.
- connect the jtag to the host computer, burn the boot.bin in(provided by the release file) the xilinx sdk.
- once you burn the boot.bin into antsdr, powerdown it and set the jumper into qspi flash mode.
- power up the antsdr, and now you will enter into dfu mode. Then you can update the firmware to the flash.
- you should burn all the files(ant.dfu, boot.dfu, uboot-env.dfu) into your antsdr. once all the file is programed successfully, you can repower the antsdr, and the firmware in the flash will be updated.
Thankyou for the answer.
I will try the xilinx sdk.
Another question about the DFU boot flow.
- Has any open doc for that? or which source code I can read? or it just close in Ant company?
- what exactly doing in CPU when I type those commands? where am I writing in flash address? 3.what's the flash map look like?
Again, thanks for answer. It help me a lot.
All of the source is available here on github. It's all open source. The only thing they have chosen to keep closed is the pcb files