Close

Flashing it!

A project log for MEGA65 - OPEN 8-BIT COMPUTER

MEGA65 is an open-source new and open C65-like computer. Hardware designs and software are open-source (LGPL).

antti-lukatsAntti Lukats 04/27/2017 at 18:080 Comments

Step 1: Open Vivado Hardware Manager (and yes this is not Impact!)

Step 2: Click on Auto Connect Icon

Step 3: Right click on xc7a200, select "Add Configuration Memory Device"

Step 4: Select Spansion, 256, part: s25fl256xxxxxxxxxxxx0

Step 5: Select MCS file to flash, click OK

and wait 3 minutes :)

set_property PROGRAM.ADDRESS_RANGE {use_file} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.FILES [list "B:/book/retro/mega65r1-20170417.mcs" ] [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0]]

set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.BLANK_CHECK 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.ERASE 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.CFG_PROGRAM 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.VERIFY 1 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

set_property PROGRAM.CHECKSUM 0 [ get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

startgroup

if {![string equal [get_property PROGRAM.HW_CFGMEM_TYPE [lindex [get_hw_devices] 0]] [get_property MEM_TYPE [get_property CFGMEM_PART [get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]]]] } { create_hw_bitstream -hw_device [lindex [get_hw_devices] 0] [get_property PROGRAM.HW_CFGMEM_BITFILE [ lindex [get_hw_devices] 0]]; program_hw_devices [lindex [get_hw_devices] 0]; };

INFO: [Labtools 27-3164] End of startup status: HIGH

program_hw_cfgmem -hw_cfgmem [get_property PROGRAM.HW_CFGMEM [lindex [get_hw_devices] 0 ]]

Mfg ID : 1 Memory Type : 2 Memory Capacity : 19 Device ID 1 : 0 Device ID 2 : 0

Performing Erase Operation...

Erase Operation successful.

Performing Program and Verify Operations...

Program/Verify Operation successful.

INFO: [Labtoolstcl 44-377] Flash programming completed successfully

program_hw_cfgmem: Time (s): cpu = 00:00:04 ; elapsed = 00:03:37 . Memory (MB): peak = 967.859 ; gain = 12.652

endgroup

Discussions