Search found 240 matches

by ag123
Tue Feb 25, 2020 10:46 am
Forum: General discussion
Topic: PN532 problem
Replies: 8
Views: 99

Re: PN532 problem

there is another sump based logic analyzer, this one runs on a stm32f103, it probably runs on a blue pill
https://github.com/ddrown/stm32-sump
by ag123
Mon Feb 24, 2020 9:00 pm
Forum: IDE's
Topic: arduino pro ide alpha
Replies: 11
Views: 1383

Re: arduino pro ide alpha

i think arduino pro ide is still evolving, so if we do integrate early, we could try to feedback to the developers if we encounter shortcomings.hopefully, it'd make it into the features of the 'future' ide as for vscode, i think it is pretty good, just that my own setup is broken. hence i stumble in...
by ag123
Mon Feb 24, 2020 2:46 pm
Forum: General discussion
Topic: PN532 problem
Replies: 8
Views: 99

Re: PN532 problem

one way is to try to observe the signals on the i2c bus to see what may be happening the adc on stm32 (even on stm32f103) is fast enough for it or another way that isn't as good as if you use an adc as an oscilloscope is to use a logic analyzer e.g. https://www.stm32duino.com/viewtopic.php?f=10&t=11...
by ag123
Sun Feb 23, 2020 11:48 am
Forum: General discussion
Topic: Serial.print not works
Replies: 8
Views: 106

Re: Serial.print not works

there are some setup instructions for com and dfu port for roger's core, please review the wiki in github
by ag123
Sun Feb 23, 2020 7:44 am
Forum: General discussion
Topic: Serial.print not works
Replies: 8
Views: 106

Re: Serial.print not works

did you connect your usb cable to the port? note that if you use a st-link to program it, st-link do not work as a usb-serial cable.
you need to connect a normal usb cable at the usb port

you should also make sure you can blink the led, for blue pills there are those with fake stm32f103 mcus
by ag123
Sat Feb 22, 2020 6:06 pm
Forum: General discussion
Topic: HI there, got an odd hanging issue
Replies: 7
Views: 107

Re: HI there, got an odd hanging issue

btw another hint though, in stm32(f103) and other 'single core' ones, there is really only one thread, it is either running in thread (main program) mode or in an interrupt handler. so one way to figure things out is to use the debugger. to figure out where it got stuck. knowing that it is single th...
by ag123
Sat Feb 22, 2020 5:12 pm
Forum: General discussion
Topic: HI there, got an odd hanging issue
Replies: 7
Views: 107

Re: HI there, got an odd hanging issue

Serial.print() in particular USB serial (and maybe even hardware serial (i.e. uart)) may use a queue or circular buffer. that queue / circular buffer has the same implications as writing to shared variables. they use shared variables and the queue, circular buffer itself is shared. while this is out...
by ag123
Sat Feb 22, 2020 4:44 pm
Forum: General discussion
Topic: HI there, got an odd hanging issue
Replies: 7
Views: 107

Re: HI there, got an odd hanging issue

one of those things about a blue pill (rather stm32f103c8) is it has 20k sram for 'everything'. and if you run a context switching RTOS, it needs to partition a smaller part of the memory into smaller silos for the stack and some variable for each vtask. so in no time you would run out of memory. so...
by ag123
Thu Feb 20, 2020 10:35 am
Forum: Projects
Topic: The "odd couple": STM32F030R8 + CPU V20
Replies: 3
Views: 106

Re: The "odd couple": STM32F030R8 + CPU V20

maybe you can run dos on it, memory is pretty tight though :lol:
https://www.freedos.org/
by ag123
Tue Feb 18, 2020 4:56 pm
Forum: STM32F4 based boards
Topic: Is there any ported RTOS for STM32F407VE?
Replies: 12
Views: 792

Re: Is there any ported RTOS for STM32F407VE?

thanks ray, :) just 2 cents, the use of semaphore & mutexes is relevant in the context of multi-threaded (or multi-processing) apps. for the lazy (maybe just me) people, sometimes we simply spin lock to get what we need. e.g. while(1) if(done()) break; inefficient - sure, but more commonly i insert ...

Go to advanced search