Closed paich64 closed 2 years ago
Is this windows bitstream pushing via libusb or using vivado?
My mistake, in the description i wrote "Launch MEGA65 V2" while i meant M65connect V2. The bitstream is pushed using m65connect V2 which uses m65 -q to push the bitstream.
when you say "Is this windows bitstream pushing via libusb or using vivado?" do you mean that if vivado is installed, then by default it will be used to push the bistream ? Because yes, vivado is installed on My win 10 PC.
m65 can use libusb (as far is I know), but only if you have installed it (which seems to be a tedious process). So the question is valid: which one is it? There should be something in the m65 log about "writing vivado.bat"
When I send to bitstream (using M65connect) i can't find any log file for m65.
The only information i have is in the M65connect console :
=========== XC3SPROG (c) 2004-2011 xc3sprog project $Rev$ OS: Windows Free software: If you contribute nothing, expect nothing! Feedback on success/failure/enhancement requests: http://sourceforge.net/mail/?group_id=170565 Check Sourceforge for updates: http://sourceforge.net/projects/xc3sprog/develop
In this example i tried to send the bitstream from March 2022 178.0 | mega65r3-dev.bit | 6.2 MB | From Jenkins-CI: development branch(development@ee4f29d), build 178
Is it possible to push the bitstream by directly using m65.exe ? I can't find any m65.exe option to log to a file.
Just found this In m65connect embedded documentation :
Important note: If you have an existing Bitstream in Slot 1 it will be started instead the loaded Bitstream by x3C. But you can skip this by holding NO SCROLL while transferring the Bitstream, so that it stops in the Flash Menu on restart. Then you can just press RUN/STOP to boot normally the loaded Bitstream without trying to load from the Flash menu.
I tried it, but the result is the same : After the bitstream has been uploaded, the Mega65 resets, and when checking in the Matrix the version of the active core is the version of the core loaded in slot 1.
So this is no mega65-tools bug, but a side effect of M65Connect using XC3SPROG on windows for flashing.
Test Environment (required)
Describe the bug M65connect provides the ability to inject a bistream inside the FPGA using m65 -q
To Reproduce Steps to reproduce the behavior:
The test was done using 2 different bitstreams from mid 2022
Expected behavior Even if there is a core loaded in slot 1, injecting a different bitstream into the FPGA with m65 -q should result in having this injected bistream active after the MEGA65 self-reboots.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context M65connect uses "m65 -q" to inject the bitstream.