Hello, I am a FPGA newfish. I have did all the steps as a Lab guide written by a professor and got the greetings from the boot loader. But When I am trying to send bin files(opcodes, pi, count) to Plasma, I lose response. The program doesn't run at all. Can you spend a little time to help me ? I am using Xilinx Spartan 3E starter board.
Hi in the makefile you have to change the address from 0 to 0x10000000 here is an example for count :
count: $(AS_MIPS) -o boot.o boot.asm $(GCC_MIPS) count.c $(GCC_MIPS) no_os.c $(LD_MIPS) -Ttext 0x10000000 -eentry -Map test.map -s -N -o test.axf \ boot.o count.o no_os.o -$(DUMP_MIPS) --disassemble test.axf > test.lst $(CONVERT_BIN) $(CP) code.txt $(VHDL_DIR)
hope it helps
Be sure to set the serial port to 57600 baud with no flow control.
When using Tera Term to download a file via File->Send File be sure to check the "Binary" check box!
Also be sure that the executable is linked for the correct address. You can use "make count3" which has the starting address at 0x1000, remember the size of the file test.bin. Use menu option 7, choose 1000 as the download address, enter the Count in hex which is the size of the test.bin file (I entered aac). Then using Tera Term select File->Send File, click the "Binary" check box and select test.bin and click Open. Use option 5 to jump to an address and enter 1000.