Difference between revisions of "User:JulienC"

From ArmadeusWiki
Jump to: navigation, search
m (Follow WritingRules)
(Change Ethernet MAC address: Link to more complete page)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
And it blinks!
 
And it blinks!
  
 +
 +
== Change Ethernet MAC address ==
 +
see [[Ethernet MAC address]]
  
 
== Notes ==
 
== Notes ==

Latest revision as of 17:16, 8 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/mmcblk0p2 /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!


Change Ethernet MAC address

see Ethernet MAC address

Notes

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