Search found 49 matches

by sabdulqadir
Fri Feb 04, 2022 3:46 am
Forum: Bug Reports
Topic: #1198 breaks compilation for all STM496 with less than 169 pins Topic is solved
Replies: 13
Views: 4538

Re: #1198 breaks compilation for all STM496 with less than 169 pins Topic is solved

Hi Giovanni/Faisal,
Issue is, these elements(GPIOI) are not defined in board.chcfg file. We can manually add this node, but wanted to know if there is a tool available to generate these chcfg files. How did you generate them in the first place?

Thanks,
AQ
by sabdulqadir
Wed Jun 16, 2021 10:53 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 7353

Re: How to abort USB transmit?

Sure,
If I get to it before you do, ill post the updated patch here.

Thanks,
AQ
by sabdulqadir
Wed Jun 16, 2021 9:50 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 7353

Re: How to abort USB transmit?

Awesome, thanks.
Do I need to do anything on my end to help?

Thanks,
AQ
by sabdulqadir
Tue Jun 15, 2021 7:47 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 7353

Re: How to abort USB transmit?

So which implementation are you talking about?
We are not changing any of the existing code. So existing implementation should not be affected. If they start using the new API, you are worried it would break?
Any way to get them on board?


Thanks,
AQ
by sabdulqadir
Mon Jun 14, 2021 10:01 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 7353

Re: How to abort USB transmit?

Hi Giovanni,
Attached is a patch I did to timeout on USB transactions. Can you check it out and help provide some feedback?
Any red flags, any concerns etc.

Thanks,
AQ
by sabdulqadir
Thu Jun 10, 2021 1:08 am
Forum: General Support
Topic: Soft reset
Replies: 17
Views: 15952

Re: Soft reset

Hi, It depends :-) There is procedure to shutdown entirely the OS, it is described in this article: http://www.chibios.org/dokuwiki/doku.php?id=chibios:howtos:stop_os If you have threads performing critical operations like writes in EEPROM or Flash then you may want to safely stop the threads then ...
by sabdulqadir
Mon May 24, 2021 9:56 pm
Forum: Small Change Requests
Topic: How to abort USB transmit?
Replies: 11
Views: 7353

Re: How to abort USB transmit?

Hi Giovanni,
If we need a for-sure way to abort a transaction (or time it out), no matter how small, how would you think we should proceed?
I am guessing this would mean "getting under the hood".

Thanks,
AQ
by sabdulqadir
Sat May 08, 2021 9:16 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 9199

Re: context switch observed inside S-locked state Topic is solved

Thanks for the reply psyco, really appreciate it. The _dbg_check_unlock is an assert check for the lock state. It does not change the lock state. So I was following _dbg_check_unlock->_dbg_leave_lock()->ch.dbg.lock_cnt = (cnt_t)0 I assumed lock_cnt maintains the chibios system state (my concern). Ab...
by sabdulqadir
Thu May 06, 2021 1:02 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 9199

Re: context switch observed inside S-locked state Topic is solved

Coming back to the topic, m,y confusion stems from the fact that chThdSuspendS() would unlock the system when it reschedules. This is not apparent nor mentioned anywhere in the documentation (I may have missed something though), do we agree to that? S functions DO NOT unlock the system but DO perfo...
by sabdulqadir
Wed May 05, 2021 5:09 am
Forum: ChibiOS/HAL
Topic: Three serial com ports with CDC drivers
Replies: 2
Views: 1792

Re: Three serial com ports with CDC drivers

Ok, got it to work, at least partially. No change in descriptors was needed so far.
Thanks for the help,
AQ

Go to advanced search