Search found 394 matches

by LeighM
Thu Oct 19, 2023 9:44 pm
Forum: Bug Reports
Topic: STM32F407 Timer Interrupts
Replies: 3
Views: 2822

Re: STM32F407 Timer Interrupts

I think there might be threads about this on the old forum. The STM32 devices are unique in having multiple programmable clock sources (as far as Flowcode supported devices are concerned). The clock configurator configs are used to setup the clocks on the device and the runtime code is aware of how ...
by LeighM
Wed Oct 04, 2023 10:22 am
Forum: General
Topic: Modbus Master Speed
Replies: 24
Views: 6481

Re: Modbus Master Speed

Just to add to what Ben said. Another generic debug trick is to wrap sections of code, or functions, in a LED on, LED off. If you have some spare outputs. Then monitor with a scope, or even an LED, the brightest will be where your program is spending most time.
by LeighM
Tue Sep 05, 2023 2:39 pm
Forum: Bug Reports
Topic: STM32 Clock Speed in Build Options
Replies: 2
Views: 1408

Re: STM32 Clock Speed in Build Options

If my memory is correct, which it usually isn't these days :roll: that refers to the input clock speed (e.g. crystal) for STM32 targets.
I'll try and remember to check when I'm back home at my Flowcode PC.

edit: Yes, confirmed as true, this value refers to the input frequency (8 MHz in your case)
by LeighM
Fri Aug 11, 2023 6:05 pm
Forum: General
Topic: dsPIC BL0032 upload problem
Replies: 12
Views: 1435

Re: dsPIC BL0032 upload problem

Compiler messages indicates that compiler is installed ok. There seems to be port allocation errors, can you check the port pins used for the keypad etc. I'm not near my Flowcode PC to check any further your program. Edit: just noticed other thread on same issue. As previously mentioned by benr and ...
by LeighM
Wed Aug 09, 2023 5:36 pm
Forum: Projects - Embedded
Topic: ESP32 static IP
Replies: 2
Views: 3186

Re: ESP32 static IP

Depending upon your router (DHCP server) you might be able to reserve a specific IP address for the ESP32
by LeighM
Wed Jul 26, 2023 2:53 pm
Forum: General
Topic: RP2040 ram and rom usage?
Replies: 23
Views: 2946

Re: RP2040 ram and rom usage?

Hi Chad, I now have this working (again) :D The missing link is ... Step 1 Add pico_multicore to target_link_libraries in CMakeLists.txt C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PICO\batch target_link_libraries(flowcode pico_stdlib hardware_adc hardware_spi hardware_pwm hardware_i2c pico_multicore) ...
by LeighM
Mon Jul 24, 2023 7:36 pm
Forum: General
Topic: RP2040 ram and rom usage?
Replies: 23
Views: 2946

Re: RP2040 ram and rom usage?

Ok. Thanks for trying. Looks like it might need to wait until I can test it. I can't recall if there's any config changes required.
by LeighM
Mon Jul 24, 2023 5:25 pm
Forum: General
Topic: RP2040 ram and rom usage?
Replies: 23
Views: 2946

Re: RP2040 ram and rom usage?

I think I might have found something (cloud backup proved worthwhile)
I haven't access to Flowcode at the moment to check this, but please try attached.
Things to note are the supplementary header code and some C code in Main.
Hope it loads :D
by LeighM
Mon Jul 24, 2023 4:44 pm
Forum: General
Topic: RP2040 ram and rom usage?
Replies: 23
Views: 2946

Re: RP2040 ram and rom usage?

No, neither can I :) I did a demo (2 years ago, as Google Photos reminded me yesterday!) that I thought had gone onto either a forum or the WiKi. A simple program that flashes an LED from each core. I'm hoping I still have it on my PC, I'm not in a position to check for a few days. But if not, it sh...
by LeighM
Sun Jul 23, 2023 7:42 pm
Forum: General
Topic: RP2040 ram and rom usage?
Replies: 23
Views: 2946

Re: RP2040 ram and rom usage?

There's an example or two of second core use on forum, can't recall where (and I'm not near PC at the moment).
Second core code goes in a separate macro, and gets invoked from a few lines of C in the main.