Search found 345 matches

by FXCoder
Mon Apr 05, 2021 7:34 am
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

All good. Yes the 1MHz default was pushing things rather hard. Q: For registry will that use ch_port_data to be able to "see" all threads in the system? I started doing some twiddling in shell_cmd.c to add a core field and next was to walk the instances to list all threads which requires c...
by FXCoder
Mon Apr 05, 2021 4:33 am
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Further notes:
1. Running tickless 1MHz rate with delta 20 creates the problem
2. Running classic 10KHz runs well
--
Bob
by FXCoder
Sun Apr 04, 2021 9:47 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Hi Giovanni, Well that change to chSchReadyI() fixed keeping the affinity of the thread to its original core. However, now the CTRACE output stalls until I type a key (which is how I invoke a shell instance on the console channel). More detail below. If the entire (not big) project would be helpful ...
by FXCoder
Sun Apr 04, 2021 3:27 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Hi, Been doing a bit of testing. I implemented my integrated shell + trace message (aka console) into a fork of the RP project. There were a few things to deal with relating to Channel Events that aren't there for SIO. Anyway that is worked around for the present. All seems to be working OK although...
by FXCoder
Sat Apr 03, 2021 1:50 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Very nice. Testing will be "interesting". BTW a small fix for c1_main. Init the shell (event source) else the thread crashes on ^D/exit. -- Bob while (true) { shellInit(); thread_t *shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE, "shell", NORMALPRIO + 1, shellThread, (void *)&...
by FXCoder
Sat Apr 03, 2021 2:47 am
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Hi, BTW I am up and running with the 2 x Pico CMSIS-DAP debug setup. I just did an "External tool" to start openocd and then a gdb start with debug. I'll put that together into a single debug (MCU in Eclipse allows selecting different tools per project - nice since I can specify the RPi pr...
by FXCoder
Wed Mar 31, 2021 2:05 pm
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

Hi,
2 x pico arrived from Element14 today along with other RPi kit.
Might have a play over the weekend.
--
Bob
by FXCoder
Sun Mar 28, 2021 11:16 am
Forum: Bug Reports
Topic: STM32L052 DAC Driver
Replies: 2
Views: 226

Re: STM32L052 DAC Driver

Fixed as bug #1150.
Backported to 20.3.4 and 19.1.5.
--
Bob
by FXCoder
Thu Mar 25, 2021 11:05 am
Forum: Development and Feedback
Topic: [DEV] RP2040 support
Replies: 57
Views: 1435

Re: [DEV] RP2040 support

OK. I was thinking along the lines of starting a timer at the FIFO interrupt which would have a timeout calculated as 1 character interval. If new data is added to FIFO then the timer gets cancelled else it would t/o and become transmit complete event. Anyway PIO (soft) UART would also meet the brie...

Go to advanced search