[ell-i-developers] Re: Serial Working

  • From: Ivan Raul <supra.material@xxxxxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Wed, 29 Jan 2014 23:23:34 +0200

Dear Pekka.

For some reason this division is partially killing the system:


I removed it, and isolated it on the main.

Inspecting the assembly, AFAIU the routine is jumping to a non-thumb code

 80002dc:    f000 f920     bl    8000520 <____aeabi_uidiv_from_thumb>


080000c4 <__aeabi_uidiv>:

After the division is invoked, the serial  stops working.

I will try tomorrow to understand why this routine is not adequate, or if
you have some experience about the division it would be quite helpful.

Have a good night.

BR, Ivan

On Wed, Jan 29, 2014 at 9:08 PM, Ivan Raul <supra.material@xxxxxxxxx> wrote:

> Dear All.
> Good news!
> Finally the serial of the new runtime is running, with some hacks (forcing
> ellduino.cpp to reference to the USARTx_INIT) and using the default
> baudrate.
> For some reason the SystemCoreClock variable is not correct. Now I will
> use the working serial to debug it.
> I will push my changes for revision in a while
> With Warm Regards, Ivan Raul

Other related posts: