Open main menu

Changes

m
I have not yet performed a Diff of my firmware and the midi updates. I would have to reconstruct them first into a full image. I think my firmware is not corrupted though at this point. I will try and send the DFU command and the payload using a python script instead (see below)
The midi files are 4x33kb. Minus headers etc; 32kb actual payload x 4 = 128kb firmware. A 512kb NOR flash is generous space for this (4x bigger) Though remember its banked for DFU (when the update is written and verified it will switch active bank flag) Also it seems remapped to different addresses in runtime operation also. There are plenty of 0xFF regions though, so not everything is written with instructions (though some of these are un-mapped memory regions for SRAM etc at the moment) . These images show the mirroring - [[File:DIF-ATBanked ROM2.png.png|thumb|DIF-AT firmware showing mirrored 'blank' bank location. Not all mirrors are blank, and some mirrors contain different code, some near identical. ]][[File:DIFAT Bank Example.png|alt=DIF-AT firmware with mirrored bank -near identical addressing much higher in ROM region|left|thumb|DIF-AT firmware with mirrored bank - almost identical addressing just much higher in ROM region]]
 
 
 
 
 
 
<br />
===DFU Python Script===
With more help from LLM I made a DFU Update python script which first sends the (probable) DFU command, and then sends sequentially all midi files over serial (at midi baud) I compared the received payload to the sent, and it is correct. I have yet to test on the device.<syntaxhighlight lang="python3">
135

edits