Search found 32 matches

by lbednarz
Sun Mar 23, 2014 7:07 pm
Forum: Development and Feedback
Topic: USB driver proposal of changes
Replies: 2
Views: 1289

USB driver proposal of changes

Hello Giovanni, I'm working on USB driver for RX62N. It seems that hardware implementation of USB in this cpu doesn't fit in current driver model. In a few words there is something like auto status stage completion and auto response for SET_ADDRESS. Can you look at it? I've included modified files w...
by lbednarz
Tue Feb 11, 2014 7:04 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

I don't know e2studio, but if it is based on gcc, the port should work. Unfortunately there is no makefile attached, only code::blocks project is available.

And about RL78/G14, it seems to be extended version (by multiply/divide instructions) of G13, so current port will run on both I think.
by lbednarz
Fri Feb 07, 2014 7:14 am
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

I didn't use debugger. If I needed to find a bug, I used uart to print or analyzed listing and map file.
by lbednarz
Sun Jan 12, 2014 11:22 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

Sources are available at http://svn.code.sf.net/p/chibios/svn/branches/rl78_dev . Notes: - tick timer is hardcoded at 1KHz - serial driver works only in tx mode at the moment, rx part is not implemented yet - only UART1 (SD2) is available with hardcoded 8N1 9600bps at 32MHz cpu clock - there are no ...
by lbednarz
Sun Jan 12, 2014 9:44 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

It is 16-bit.
by lbednarz
Sun Jan 12, 2014 8:46 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

Clock is at 32MHz.
by lbednarz
Sun Jan 12, 2014 8:33 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

Good suggestions Giovanni :) With -O2 and CH_OPTIMIZE_SPEED to FALSE results are: *** ChibiOS/RT test suite *** *** Kernel: 2.6.2 *** Compiled: Jan 12 2014 - 20:28:53 *** Compiler: GCC 4.8-GNURL78_v13.02 20131003 (MP1) (Red Hat/devo) [trunk revision 194496] *** Architecture: RL78 *** Test Board: Ren...
by lbednarz
Sun Jan 12, 2014 8:08 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

Just tested with -O3 optimization, results are a little better. *** ChibiOS/RT test suite *** *** Kernel: 2.6.2 *** Compiled: Jan 12 2014 - 19:57:51 *** Compiler: GCC 4.8-GNURL78_v13.02 20131003 (MP1) (Red Hat/devo) [trunk revision 194496] *** Architecture: RL78 *** Test Board: Renesas YRPBRL78G13 -...
by lbednarz
Sun Jan 12, 2014 7:29 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

Thanks :)

I've also noticed that 11.2 and 11.3 much differ from 11.1, but I don't know yet why. These should be comparable, right?
I'm using GCC toolchain from KPIT Cummins and optimizer option -Os.

lb
by lbednarz
Sun Jan 12, 2014 7:06 pm
Forum: RL78 Support
Topic: Renesas RL78 port
Replies: 37
Views: 31343

Re: Renesas RL78 port

After a few fixes RL78 port is almost ready I think. Sources will be updated after a little cleanup. Here are the results of tests for comparison with other boards: *** ChibiOS/RT test suite *** *** Kernel: 2.6.1 *** Compiled: Jan 12 2014 - 18:38:04 *** Compiler: GCC 4.8-GNURL78_v13.02 20131003 (MP1...

Go to advanced search