Search found 49 matches

by devan
Thu Oct 19, 2017 3:58 am
Forum: Libraries & Hardware
Topic: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471
Replies: 86
Views: 1458

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

lkcl wrote:
Thu Oct 19, 2017 3:33 am
the F030 has USB alright, just not crystal-less operation.
What's your source for that? Is this one of those secret features that's not listed on the datasheet like USB on the F101?
by devan
Wed Oct 18, 2017 9:45 pm
Forum: Libraries & Hardware
Topic: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471
Replies: 86
Views: 1458

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

On the topic of CMSIS-DAP, if you want the full mbed/Nucleo-style drag'n'drop functionality, that's based on the DAPLINK project, which is open source (but requires Keil/IAR to build) and has been ported to the STM32F103. Off the top of my head, the DAPLink firmware weighs in at about 50KiB and the ...
by devan
Fri Oct 13, 2017 8:32 pm
Forum: Projects
Topic: A browser-based debugger
Replies: 3
Views: 131

Re: A browser-based debugger

Yeah, unfortunately it's pretty hard to do source code display without having access to the local filesystem. Ideally, it would be integrated with some cloud IDE where it would have full access to the source. Otherwise the user would have to upload a copy of their entire source repo (and any librari...
by devan
Thu Oct 12, 2017 2:32 am
Forum: Projects
Topic: A browser-based debugger
Replies: 3
Views: 131

A browser-based debugger

Hi everyone, I thought I would share my latest project, a toy debugger that works with ST-Links and runs entirely from within your browser (assuming your browser is Chrome, version 61 or newer). RP90OlUTZbs It has some basic functionality that you would expect from a debugger: Reading CPU registers ...
by devan
Wed Aug 30, 2017 4:55 am
Forum: USB to Serial adaptors
Topic: [SOLVED] Enter F103 Serial bootloader via software - Serial upload without toggling boot pins
Replies: 3
Views: 156

Re: Serial upload without toggling boot pins

Roger's guess looks pretty accurate to me. In case you don't know exactly what to look for, here's how it works in the Cleanflight code: 1. The serial port reads a command that tells it to switch to the bootloader. void serialEvaluateNonMspData(serialPort_t *serialPort, uint8_t receivedChar) { #ifnd...
by devan
Thu Aug 24, 2017 8:24 am
Forum: General discussion
Topic: DFU bootloader in F4
Replies: 20
Views: 420

Re: Rebooting to DFU bootloader in F4 and others.

It's possible, though it would require ripping out some features to make space (I've currently got about 80 bytes to spare). I briefly looked into making it compatible awhile ago, but it started to look like it would require more time than I wanted to spend since I'm pretty happy with my current dfu...
by devan
Thu Aug 24, 2017 7:27 am
Forum: General discussion
Topic: DFU bootloader in F4
Replies: 20
Views: 420

Re: Rebooting to DFU bootloader in F4 and others.

Hi Roger, dapboot is only compatible in the sense that it uses the same application offset as the STM32duino bootloader and uses the same RTC backup register values to force the bootloader to enumerate (in case you were wondering where those magic values came from...). It's not really compatible wit...
by devan
Sun Jun 11, 2017 7:31 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 33
Views: 1047

Re: Partial / old code for a F4 Maple bootloader

On the topic of mass-storage bootloaders, it would be neat to make one that supports the new UF2 format. UF2 essentially takes the concept behind hex files where you have records of address+data, only it delimits them by 512-byte sector boundaries instead of line breaks so that each record is guaran...
by devan
Thu Jun 08, 2017 11:53 pm
Forum: STLink
Topic: ST-link clone by baite
Replies: 57
Views: 5443

Re: ST-link clone by baite

It could be that RST is SWIM_RST, in which case its not a problem because UART can be on PB6 and PB7, but if RST means T_NRST that appears to be on another pin In my experience, all of the metal dongles have the SWIM_RST pin exposed, not T_NRST (there are notes floating around from people complaini...
by devan
Thu Jun 08, 2017 10:45 pm
Forum: STLink
Topic: ST-link clone by baite
Replies: 57
Views: 5443

Re: ST-link clone by baite

I have been looking at whether the BMP could be made to work on one of those STLink dongles in a rectangular metal tube, and I think it may be possible, but the BMP code would need a lot of modification as the UART Tx and Rx would need to be on different UART devices. So I think the core part of ST...