Search found 441 matches

by stevech
Fri Jun 10, 2016 11:27 pm
Forum: General discussion
Topic: book: Mastering STM32
Replies: 4
Views: 2802

Re: book: Mastering STM32

I can't quite see why you'd pay money for a partially finished book when this free one is even better http://www.cs.indiana.edu/~geobrown/book.pdf Also. Looking at the book in the link, I hope the author has contacted STM and got a license to copy the content from STM's website I wouldn't! I asked ...
by stevech
Fri Jun 10, 2016 10:50 pm
Forum: General discussion
Topic: book: Mastering STM32
Replies: 4
Views: 2802

book: Mastering STM32

Potentially valuable book... an eBook. Unfinished.

https://leanpub.com/mastering-stm32
by stevech
Fri Jun 10, 2016 9:38 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

That just doesn't work. You can want ISRs to call non-reentrant libraries, but by design, it's invalid.
by stevech
Fri Jun 10, 2016 4:51 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

... Breaks lots of things, calling libraries related to print from an ISR. Such as non-reentrant library code and hosing up the latency. Arduino-land is the only place I've seen an attempt to do such, and it's naive. While I agree with the idea of doing minimal things in an ISR, a quick look at the...
by stevech
Fri Jun 10, 2016 3:57 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

ISR no-no. You could also do a for (i = 0 to infinity) in the ISR. Crazy. Not really that crazy. Suppose you want to print out debugging information from within your HardFault_Handler ? Or you are actually debugging an ISR and want to put print statements right there ... At the end of the day, I ca...
by stevech
Fri Jun 10, 2016 1:59 am
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

ISR no-no.

You could also do a for (i = 0 to infinity) in the ISR.

Crazy.
by stevech
Thu Jun 09, 2016 10:48 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

interrupt priority of the caller is higher than that of the UART ISR.
Are they trying to let an ISR use print()? I've never seen such done. Rule 1 in ISRs, you know.
by stevech
Wed Jun 08, 2016 10:11 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

Not meaning "Best way". But geesh, Ardiuino took YEARS to get UART I/O to use interrupts and a buffer. Meanwhile, zillions of students/hobbyists were befuddled as to why print statements got stuck in a loop for long times. int Uart::availableForWrite() { return (sercom->isDataRegisterEmptyUART() ? ...
by stevech
Wed Jun 08, 2016 10:00 pm
Forum: STM32F4 Boards
Topic: Seeed Arch Max
Replies: 65
Views: 4265

Re: Seeed Arch Max

@stevech, I think you've missed that this board is an F407, a M4 not a M0. The only bad point is that it is sad that they took the 512K Flash variant instead of the 1MB. I saw the user post that the board was $19. On seeed's web store, I saw the $19 "ARCH" board was ye ole NXP M0 and the STM32 "ARC...
by stevech
Wed Jun 08, 2016 8:05 pm
Forum: Cores
Topic: STM32L4 Core
Replies: 130
Views: 9340

Re: STM32L4 Core

Not meaning "Best way". But geesh, Ardiuino took YEARS to get UART I/O to use interrupts and a buffer. Meanwhile, zillions of students/hobbyists were befuddled as to why print statements got stuck in a loop for long times.