Search found 355 matches

by utzig
Thu Mar 30, 2017 6:24 pm
Forum: AVR Support
Topic: Cannot make software serial send more than one character
Replies: 27
Views: 5803

Re: Cannot make software serial send more than one character

Please copy your latest .c/.h version somewhere. I will try later today.
by utzig
Wed Mar 29, 2017 12:26 am
Forum: AVR Support
Topic: Doubt on I2C LLD
Replies: 5
Views: 1714

Re: Doubt on I2C LLD

That is not a ChibiOS thing. That is standard I2C. Your LCD manual may be providing the wrong address than. I'm curious, what LCD model is that? Where is the DS?
by utzig
Tue Mar 28, 2017 11:53 pm
Forum: AVR Support
Topic: Cannot make software serial send more than one character
Replies: 27
Views: 5803

Re: Cannot make software serial send more than one character

The following causes "U" to flood the console: while (true) { //debug("USART1\r\n"); //chThdSleepSeconds(1); chprintf((BaseSequentialStream*) &SDS, "USARTS\r\n"); chThdSleepSeconds(1); } Probably CPU resetting. Some non-handled interrupt maybe? I will try to test i...
by utzig
Fri Mar 24, 2017 12:23 am
Forum: AVR Support
Topic: Doubt on I2C LLD
Replies: 5
Views: 1714

Re: Doubt on I2C LLD

In I2C the address goes in the upper 7 bits and the LSb defines if it is a read or a write. So if you're reading 0xA0 you're actually sending to address 0x50.
by utzig
Thu Mar 23, 2017 2:21 pm
Forum: AVR Support
Topic: AVR os-less OSAL Topic is solved
Replies: 23
Views: 7221

Re: AVR os-less OSAL Topic is solved

Applied to trunk.
by utzig
Thu Mar 23, 2017 1:45 pm
Forum: AVR Support
Topic: Cannot make software serial send more than one character
Replies: 27
Views: 5803

Re: Cannot make software serial send more than one character

carldong,

If you don't mind, please create a pastebin/gist of this (with syntax highlighting), even better with the whole file/code. Also, it might be a non-AVR specific thing that is going wrong there which would have a better chance of being found by posting in General.

Cheers,
Fabio Utzig
by utzig
Thu Mar 23, 2017 1:42 pm
Forum: AVR Support
Topic: [PATCH] AVR EXT Topic is solved
Replies: 80
Views: 16577

Re: [PATCH] AVR EXT Topic is solved

I remember taking a quick look at the patches. The things that I didn't like were the changes to the license headers, which IMO should only be done by invitation, also there where so many changes that it would maybe be better to just send the files (not a patch)... but it looked OK to me and I don't...
by utzig
Wed Feb 22, 2017 7:53 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 6856

Re: need help with nrf51822 and openocd

The NRF51 demos output object files at the build directory. Your project is probably using some other place. You should use the ch.bin file, '/' forward slashes and the command looks correct ( flash write_image erase build/ch.bin 0 ). Also, keep in mind that you are using relative paths in openocd, ...
by utzig
Sun Feb 19, 2017 11:08 pm
Forum: General Support
Topic: SVN down, or other problem?
Replies: 7
Views: 1719

Re: SVN down, or other problem?

Github is online!!! Just kidding, but one can always be hopeful, right?!? :-)
by utzig
Sun Feb 19, 2017 10:52 pm
Forum: nRF51 Support
Topic: need help with nrf51822 and openocd
Replies: 7
Views: 6856

Re: need help with nrf51822 and openocd

The ChibiOS-Contrib repo tries to keep up to date with ChibiOS master (or trunk). The file naming scheme has changed some time last year and now follows a hal_*_lld.(h|c) nomenclature. You may update you local copy to undo this change or update you ChibiOS to a more recent version.

Go to advanced search