Ive currently got the SERIAL_BUFFERS_SIZE at 512
if a pass alot of strings using chvprintf it causes a unhandled exception, as in the picture, but there is not clue in the debugger as to where the problem came from i.e. no call trace.....so how is one to debug this and why does this happen ?
chvprintf causing unhandled exception
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: chvprintf causing unhandled exception
Hi,
You must inspect the stack and look at the address in the pushed LR register, that is the exception point.
I can't see any reason for buffers to stop working when size==512 however, there must be something (else) overflowing, a stack for example.
Giovanni
You must inspect the stack and look at the address in the pushed LR register, that is the exception point.
I can't see any reason for buffers to stop working when size==512 however, there must be something (else) overflowing, a stack for example.
Giovanni