Difference between revisions of "User:JulienC"

From ArmadeusWiki
Jump to: navigation, search
m (Booting from SD card (links to investigate))
m (wikipedia links enabled (Thanks!))
Line 8: Line 8:
 
I used the [[Une_led_qui_clignote_avec_le_spartan_3|LED blinking page]] VHDL code to generate the FPGA binary file with Xilinx ISE. (more details are needed on this wiki to generate .bit files)
 
I used the [[Une_led_qui_clignote_avec_le_spartan_3|LED blinking page]] VHDL code to generate the FPGA binary file with Xilinx ISE. (more details are needed on this wiki to generate .bit files)
  
On the hardware side, I connected the 2 FPGA pins L28P and L28N to a [[wiktionary:wikipedia:breadboard|breadboard]] with wires. Those 2 pins are accessible on the DevLight bottom, as mentioned on the [http://www.armadeus.com/_downloads/apf9328DevLight/documentation/dataSheet_APF9328_DevLight_V2.pdf datasheet], page 9. Those 2 pin-holes are too small to solder [http://www.selectronic.fr/article.asp?article_ref_entier=90.0425-9999 "conventional" pins], so my set-up is quite unstable. I need to make it more robust.
+
On the hardware side, I connected the 2 FPGA pins L28P and L28N to a [[wikipedia:breadboard|breadboard]] with wires. Those 2 pins are accessible on the DevLight bottom, as mentioned on the [http://www.armadeus.com/_downloads/apf9328DevLight/documentation/dataSheet_APF9328_DevLight_V2.pdf datasheet], page 9. Those 2 pin-holes are too small to solder [http://www.selectronic.fr/article.asp?article_ref_entier=90.0425-9999 "conventional" pins], so my set-up is quite unstable. I need to make it more robust.
  
 
On the software side, I don't want (yet) to flash my board with a new software, so I am using the default one provided (Linux kernel 2.6.27.2). Moreover I want to load the FPGA from Linux (and not [[InstallTargetSoftware#FPGA_firmware_installation|from U-boot]]).
 
On the software side, I don't want (yet) to flash my board with a new software, so I am using the default one provided (Linux kernel 2.6.27.2). Moreover I want to load the FPGA from Linux (and not [[InstallTargetSoftware#FPGA_firmware_installation|from U-boot]]).

Revision as of 21:58, 1 March 2009

My name is Julien and I am a French engineer in embedded systems. My interests are in FPGA programming and embedded Linux. I will try to share my experiments on this wiki.

I am new in the FPGA world. I will try to learn and share as much as I can.

Blinking LED

Goal: Make a LED blink.

I used the LED blinking page VHDL code to generate the FPGA binary file with Xilinx ISE. (more details are needed on this wiki to generate .bit files)

On the hardware side, I connected the 2 FPGA pins L28P and L28N to a breadboard with wires. Those 2 pins are accessible on the DevLight bottom, as mentioned on the datasheet, page 9. Those 2 pin-holes are too small to solder "conventional" pins, so my set-up is quite unstable. I need to make it more robust.

On the software side, I don't want (yet) to flash my board with a new software, so I am using the default one provided (Linux kernel 2.6.27.2). Moreover I want to load the FPGA from Linux (and not from U-boot). I set-up a microSD card to transfer my files. to load the FPGA binary file, in addition to the .bit file, I needed the fpgaloader driver script which seems not to be by default on the board.

After booting the board, I use the following commands:

# mount -t ext2 /dev/mmcblk0p1 /mnt/mmc
# cd /mnt/mmc/root/
# ls
Clk_div_led.bit  fpgaloader.sh
# sh fpgaloader.sh
fpgaloader module v0.0.6 successfully loaded !
# dd if=Clk_div_led.bit of=/dev/fpga/fpgaloader
255+1 records in
255+1 records out

And it blinks!


Notes

Booting from SD card: (links, not tried yet)