BASCOM-AVR : serial data crashes processor : NEWTOPIC
For some time I have had 'troubles' with a serial port that gets 4000-5000 bytes of data from a noise meter. Data rate is slow, and from time to time the processor resets. Today i wrote some test...
View ArticleBASCOM-AVR : strange biniary output Part2 : REPLY
[quote:7c13b3ad5d]For some reason the topic from MHZ strange biniary output is locked, so must start a new one.[/quote:7c13b3ad5d] The reason is simple : the problem was clear and the topic wend off...
View ArticleAVR-DOS : m128can : REPLY
sure, as long as you have enough sram it is not a problem. the m128can is just a m128 with a can interface.
View ArticleShare your working BASCOM-AVR code here : How to use 2 MSGEQ7 to give 14...
thank you for sharing. an interesting project indeed. did not knew these msgeq chips. good old equalizer times :-) one small thing ; you do not need to disable interrupts in the ISR. The chip handles...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
[quote:82d0f34153="njepsen"]The board is running from a 12v 50AHr battery, with a 7805 regulator, and several 1000 uF around the board. [/quote:82d0f34153] 1000uF is nice to get rid of the low...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
You can not check MCUSR directly for reason of reset, it is cleared by BASCOM on startup. Read R0 instead (at the very beginning of your program). See Help topic "CONFIG WATCHDOG" for details.
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
Thanks guys - Laborratte. I wll check that out. Evert - there are several 0.1 and 0.01 also at each device supply pin, and no earth loops. I'm convinced its not a psu prob.
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
Hello Try to compile with version 2.0.7.2 I have identical problems but with RS485 communications. With version 2.0.7.6 my program not work correctly, "Timing rules perhaps" Mark have make few changes...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
the (ceramic) 100 nF caps must be close as possible to the input and output pin of the regulator. Further, a low ESR cap (Q factor) is better because it can supply current quicker. Just adding big...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
I'm certain its not supply noise and I have quite a few 0.1 ceramics and monolithics on the board, but I'll add some more tomorrow directly to the regulator IO pins and also to the uP and RS232...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
a regulator (especial the old ones) can produce a lot of harmonic frequencies. that is why you need to add the 100 nF close the pins. you find the same info in the data sheet. most recommend a...
View ArticleBASCOM-AVR : boolean logic conditions : NEWTOPIC
Hello specialists, pls what are the real laws for the BASCOM Compiler in Terms of boolean logic: What is allowed, what forbitten despite the Compiler does'nt cry: 1. if x = 0 and y = 1 and a = 0 and b...
View ArticleShare your working BASCOM-AVR code here : NX-BRIDGE : NEWTOPIC
Hi, there is a new Board from http://www.elecfreaks.com/ NX-BRIDGE. It is Arduino Style like, with M328P and Wiznet W5100 on Basboard! Also there is a Header for X-BEE and a sd-card Slot. look at here...
View ArticleShare your working BASCOM-AVR code here : How to use 2 MSGEQ7 to give 14...
Hi Mark, Thanks for your explain. I never know if the ATMEGA has interrupt priority :) ! This is an "automatic code insertion" that I make in my projects.... it's hardware coded in my brain now !!!!...
View ArticleBASCOM-AVR : Using ICP1 pin : NEWTOPIC
Why after one change on ICP1 pin timer stops counting? [code:1:48a35e8a8e] '$sim $regfile = "m128def.dat" $crystal = 8000000 '$baud = 9600 $hwstack = 50 $swstack = 50 $framesize = 70 $lib...
View ArticleShare your working BASCOM-AVR code here : How to use 2 MSGEQ7 to give 14...
hi Paulo, my comment to the code is more general, not only for you. But my thanks for sharing the project was only for you :-) The normal AVR (tiny, mega) do not have a priority setting. there is an...
View ArticleShare your working BASCOM-AVR code here : NX-BRIDGE : REPLY
hi Michael, This is truly amazing. A M328 with [b:9829a75847]MYSQL [/b:9829a75847]access. Had no idea this would be possible with such a small chip. But then again, you can do about anything i think...
View ArticleBASCOM-AVR : ADC will not work with CONFIG PORTx = Output in Bootloader? :...
Hello Forum, This problem took a while to figure out. I have been successfully using a Bootloader that includes display to a LCD for some time. I use PORTC for the data and PORTA for the control lines...
View ArticleBASCOM-AVR : serial data crashes processor : REPLY
Mark - thankyou for your comments. ( the watchdog code was where I had been trying it on and off. All test results with WD off). I tried several 0.1 monolithics, with very SHORT leads directly across...
View Article