Attached is a zip file with the firmware for JTR's latest work on the BPv4. It is somewhere between V6.1 and V6.2 therefore I do not consider this an official release, just a work in progress looking for testers to thrash it around a little. Only the USB stack and the SUMP mode are in my keeping and that is what I want feedback on.
Basic change log, complete with oversights.
New USB stack with permanent, full duplex double buffered comms.
UART1 baud rate set from PC.
Recoded SUMP mode that is 100% protocol compatible with existing mode.
Code has been highly refactored and is a joy to read and understand. Well, relatively so.... :)
Trigger on port change enabled via client.
Data sent first sample first.
Up to 65535 samples.
Should sample at a few hundred kHz, yet to be characterized.
8 channels with AUX1 moved to B7 in firmware.
All digital I/Os on the BPv4 header are available.
The trigger on port change is enabled BUT at the last moment I realize that the actual mappings in the sump client may or may not be correct for the I/O pins. This is minor and you can find the triggers via trial and error if they are not where they should be.
Included in the zip file is the new BPv4 cfg file for the OLS client 0.9.5. Copy this into the plugin folder.
Also included is a screen shot showing a binary counter on the I/O. OK, I cheated, it is actually showing the buffer pointer but it was a good way to verify the USB stack and the SUMP mode liked each other.
The source code was too large to post here. You can get it here. http://http://www.newfoundelectronics.com/JTRs%20BPv4%20V6.something%20with%20JTR_SUMP.zip
Please post comments here so that I can track issues with either the SUMP mode firmware or the USB stack. Any other problems please refer elsewhere on the forum.
Cool, thank you. I am soldering a board right now, but I will give it a test later this afternoon.