lamfe / versaloon-git Goto Github PK
View Code? Open in Web Editor NEWVersaloon - a STM32 programmer platform (migrated from SVN to GIT)
License: Other
Versaloon - a STM32 programmer platform (migrated from SVN to GIT)
License: Other
I compiled the latest firmware on a bluepill, but unfortunately it always fails when connected to a stm32f0x target with lots of "Error: usbtoswd command 0x28 failed with 0x01".
For instance:
Open On-Chip Debugger 0.11.0+dev-00642-g0f30023f6-dirty (2022-10-27-00:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : VSLLink SWD mode enabled
swd
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Versaloon(0x16)by Simon(compiled on Oct 29 2022)
Info : USB_TO_XXX abilities: 0x0000176E:0x010001EF:0xC0000007
Info : clock speed 1000 kHz
Error: usbtoswd command 0x28 failed with 0x01
Error: Invalid length of return data
Error: Sequence 2 not supported
Error: Sequence 5 not supported
Error: usbtoswd command 0x28 failed with 0x01
Error: Invalid length of return data
Error: usbtoswd command 0x28 failed with 0x01
Error: Invalid length of return data
...
Any idea what's going on?
Thanks in advance!
to get vsgui to comple needed,
--- /media/maddocks/usb3tb/stm32-std-periph-drivers_porting-tools/versaloon-git/vsgui/hexeditor.pas 2021-04-07 08:28:23.160413990 -0400
+++ /media/maddocks/usb3tb/versaloon-newgui/vsgui/hexeditor.pas 2021-03-15 06:45:00.427950466 -0400
@@ -1048,7 +1048,7 @@
end;
try
if not FileExistsUtf8(SaveAsFileName) then
if not FileExists(SaveAsFileName) then
begin
HandleTmp := FileCreate(Utf8ToAnsi(SaveAsFileName));
if HandleTmp = NULL then
@@ -1246,7 +1246,7 @@
FillChar(DataBuff[1], DataByteSize, DefaultData);
// open file and read
--- /media/maddocks/usb3tb/stm32-std-periph-drivers_porting-tools/versaloon-git/vsgui/texteditor.pas 2021-04-07 08:28:23.163747404 -0400
+++ /media/maddocks/usb3tb/versaloon-newgui/vsgui/texteditor.pas 2021-03-15 06:45:45.752659720 -0400
@@ -25,7 +25,7 @@
{ private declarations }
public
{ public declarations }
var
FormTextEditor: TFormTextEditor;
@@ -53,7 +53,7 @@
tmpStrList: TStringList;
i: integer;
begin
--- /media/maddocks/usb3tb/stm32-std-periph-drivers_porting-tools/versaloon-git/vsgui/main.pas 2021-04-07 08:28:23.160413990 -0400
+++ /media/maddocks/usb3tb/versaloon-newgui/vsgui/main.pas 2021-03-15 06:49:50.942092130 -0400
@@ -1712,7 +1712,7 @@
MessageDlg('Error', 'No File Defined.', mtError, [mbOK], 0);
exit;
end;
procedure TFormMain.FormActivate(Sender: TObject);
@@ -2252,7 +2252,7 @@
function TFormMain.VSProg_PrepareToRun(aApplicationName: string): boolean;
begin
Result := False;
Still not sure if it works havent tried much but many warnings during compile including missing .o's and deprecated things.
This software is incredible!! The more I look thru it the more I find! So it has usb mass storage option for drag n drop programming, and a scripting language that can be built in, both of which require a ton more storage then my f103s have! Have you trie them? What board did u use if so? I see stm32f4 discovery port but no f4 drivers, where early f4s peripherals compatible with f103 or something missing? I see you can compile the programmer into firmware (for drag and drop?) I assume swd uses same pins as jtag? I see the scripting docs and tried to use those commands (without scripting compiled in, again space) and using similiar but different syntax I forest gumped/guessed my way into some that didnt error out. all of my f4s use 25mhz hse and it doesnt look like the code supports that. Im very curious what this firmware with all bells and whistles turned on can do, for example the usbtoeverything does that control the peripherals on the programmer or target? And again how does this compile for f4? Lots of cod didnt go thru it all yet but dont see f4 clock settings (f4 at 72mhz maybe?) or peripheral drivers etc. Anyway super appreciate you keeping the old source and documenting it! seems like zoobab removed a ton of awesome stuff!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.