Search found 48 matches

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

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: 3467

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: 3467

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: 3467

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: 11562

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: 3467

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: 3457

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: 3457

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: 803

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
by sabdulqadir
Wed May 05, 2021 5:08 am
Forum: Bug Reports
Topic: context switch observed inside S-locked state Topic is solved
Replies: 28
Views: 3457

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

... If it is unlike other RTOSes, well, I am glad to hear that :D , probably this is also why it is running circles around other "typical RTOSes". Giovanni Way to go Faisal, you made Giovanni's day today ;) Coming back to the topic, m,y confusion stems from the fact that chThdSuspendS() w...

Go to advanced search