Search found 18 matches

by sabdulqadir
Mon May 13, 2019 10:59 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 10
Views: 370

Re: xQueueCreate equivalent

Giovanni wrote:Those are different, ObjFIFOs are meant to exchange fixed-size structures in a copy-less way.
Giovanni


Are HAL I/O BUFFERS not copy-less too?
AQ
by sabdulqadir
Wed Apr 03, 2019 4:33 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 249

Re: Understand difference between stats and time in thread_t

If we had PRE and POST hooks in idle, we would be able to measure the time in the idle thread.
We could use VT to make sure they do not overflow.
Would that be another way of profiling load?

Thanks,
AQ
by sabdulqadir
Wed Apr 03, 2019 4:28 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 249

Re: Understand difference between stats and time in thread_t

Ok, Got answer for most of my queries. Thanks So a bit confused on your implementation for profiling. For cortex-M, port_wait_for_interrupt() would wait on WFI until an interrupt is triggered. If the VT is set to 1sec, the global variable would just tell us how many times did we enter idle thread in...
by sabdulqadir
Wed Apr 03, 2019 3:12 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 249

Re: Understand difference between stats and time in thread_t

Thanks Giovanni for a quick reply. Appreciate that. For the moment, our requirement is simple. Measure CPU load. I guess the profiler is the best way to do it. Although had to define CH_CFG_ST_TIMEDELTA to enable it. Lets us know if there are any other ways to do it as well. Also when you say "...
by sabdulqadir
Wed Apr 03, 2019 12:45 am
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 249

Understand difference between stats and time in thread_t

Hi, We are trying to profile our code and going through the API to see whats the best way to do that. The way 'stats' is defined, it looks like its measuring instruction cycles while 'time' counts system ticks. Is resolution the only difference between them. Is there a recommended way on how each sh...
by sabdulqadir
Wed Feb 20, 2019 11:09 pm
Forum: ChibiStudio
Topic: Not able to install GNU MCU Eclipse plugin
Replies: 1
Views: 259

Not able to install GNU MCU Eclipse plugin

Hi guys,
I am trying to use ChibiStudio for windows and am not able to install the above plugin as it requires Neon or above version of eclipse. Was trying to see if I can use J-link debugger with my target.
Is there a solution for that?

Thanks,
AQ
by sabdulqadir
Fri Dec 14, 2018 10:24 pm
Forum: Small Change Requests
Topic: Speed profiling using hal_serial_usb Topic is solved
Replies: 4
Views: 719

Re: Speed profiling using hal_serial_usb Topic is solved

Thanks Giovanni,
I do have a concern though. Should this change be pulled out to the configuration files? That way, the application would be able to fine tune this parameter.

Thanks,
AQ
by sabdulqadir
Mon Dec 10, 2018 9:21 pm
Forum: Bug Reports
Topic: otg_core_reset: wrong operation sequence? Topic is solved
Replies: 5
Views: 511

Re: otg_core_reset: wrong operation sequence? Topic is solved

I noted the same in STM32cubemx code. They test AHBIDL bit before the reset.

Thanks,
AQ
by sabdulqadir
Mon Dec 10, 2018 8:18 pm
Forum: ChibiOS/HAL
Topic: USB-HID working with IIO but now with hidraw subsystem
Replies: 5
Views: 843

Re: USB-HID working with IIO but now with hidraw subsystem

Hi, I do not have much experience with HID, but my two cents, try placing your led turn-on in: static void usb_lld_serve_interrupt(USBDriver *usbp) { ... /* IN/OUT endpoints event handling.*/ src = otgp->DAINT; } in os/hal/ports/STM32/.....hal_usb_lld.c You should be able to trace from there if you ...
by sabdulqadir
Thu Nov 22, 2018 1:16 am
Forum: General Support
Topic: Mailboxes and queues examples?
Replies: 9
Views: 4212

Re: Mailboxes and queues examples?

Hi, The test/ directory in the sources root has examples for most kernel features. In specific you should look to test/testmbox.c and test/testqueues.c. Fabio Utzig Have the structure changed? Could not find these in the current distribution. Or am i not looking at the correct stuff (https://github...

Go to advanced search