Search found 29 matches

by Riva
Thu Mar 23, 2017 9:23 am
Forum: General discussion
Topic: STM32F3 Discovery board support
Replies: 13
Views: 156

Re: STM32F3 Discovery board support

What does the F3 offer you that makes it a must over the F1/F4 options?
by Riva
Sun Mar 19, 2017 8:34 am
Forum: General discussion
Topic: Need advise on logic analyser
Replies: 17
Views: 234

Re: Need advise on logic analyser

I have one of these that I use at work and one of these (now discontinued but the Scanalogic2 is the same without a case) that I use at home.
Software wise I really like the ScanaStudio software best (apart from the slightly dodgy DMX decoder script) as it trumps Salae and others I have used.
by Riva
Sun Mar 19, 2017 8:22 am
Forum: Libraries & Hardware
Topic: u8g2 for maple mini
Replies: 3
Views: 154

Re: u8g2 for maple mini

dev wrote:But i think i have monochrome oled.

The pictured OLED display is monochrome, it just has 2x different coloured transparent tapes on the face that give the colour.
by Riva
Sat Feb 18, 2017 4:27 pm
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 262

Re: Intercept the usart isr without resorting to hacking the core

I'm not actually using it, I'm using the normal core, but seems to work for the problem Riva was dealing with. Are you using it for all the irq handlers or in which cases? I have done the weakref for all 3 Usarts and the 2 Uarts in the isrs.S file and added __weak to to the interrupt definitions in...
by Riva
Sat Feb 18, 2017 10:03 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 262

Re: Intercept the usart isr without resorting to hacking the core

If we can work out whether there are any downsides to making these into weak references, I"d be happy to accept a PR to change this. But we'd need to make very sure it doesnt break something ;-) Logic says it should be fine as it seems the original interrupt vectors are used unless a sketch/li...
by Riva
Sat Feb 18, 2017 9:51 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 262

Re: Intercept the usart isr without resorting to hacking the core

@victor_pv

This is the version I did

Code: Select all

.weak   __exc_nmi
.globl   __exc_nmi
.weakref __exc_nmi, __default_handler
by Riva
Sat Feb 18, 2017 9:48 am
Forum: Off topic
Topic: DIY Oscilloscopes - List and Discussions
Replies: 23
Views: 1505

Re: DIY Oscilloscopes - List and Discussions

I noticed HobbyKing has this STM32 based scope on their deal of the week https://hobbyking.com/en_us/dso138-oscilloscope-kit-official-jye-smt-done-version-kit.html Though its not entirely cheap what you get as part of the kit apart from the PCB + STM32F103C8 + Display (or whether its such a good de...
by Riva
Fri Feb 17, 2017 11:07 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 262

Re: Intercept the usart isr without resorting to hacking the core

@victor_pv Resorting to a phrase way to young for me "You're the man". You can test to replace that file with the version that used weakrefs, and see if in that case the __weak parameter in the function works as expected. Will give it a try and report back. Changing the .set to .weakref fo...
by Riva
Fri Feb 17, 2017 9:29 am
Forum: General discussion
Topic: Intercept the usart isr without resorting to hacking the core
Replies: 16
Views: 262

Re: Intercept the usart isr without resorting to hacking the core

Do you need to completely replace the USART irq handler, or you just need to add to the handler? in the second case, perhaps you could modify the core to allow it to attach an additional function to be called before or after the core handler, similar to the DMA interrupts, where there is a handler ...
by Riva
Fri Feb 17, 2017 8:49 am
Forum: General discussion
Topic: Watchdog usage
Replies: 2
Views: 97

Re: Watchdog usage



Thanks Ray, ever the helpful tome of information I'm to stupid to find.

Go to advanced search