Quantcast
Browsing all 20637 articles
Browse latest View live

BASCOM Project Blog : Building a Webserver with a Wiznet W5100 : REPLY

Ok I have a board that has a 40pin dip with sockets Arduino shields, 5v/3.3v 3amp power supply, second six pin header for programming, provision to plug a 16 x 2 LCD into the end of the board with a...

View Article


BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work :...

Hello, I have on a Atmega2560 the Uart0 connected to RS485 deveice. It works with baud 38400 Now what i not understand is, on the RX0 pin2 PE.0 i have a 1k resistor in serie with a Led to see the...

View Article


BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work :...

Hello, I have on a Atmega2560 the Uart0 connected to RS485 deveice. It works with baud 38400 Now what i not understand is, on the RX0 pin2 PE.0 i have a 1k resistor in serie with a Led to see the...

View Article

BASCOM-AVR : data problem : NEWTOPIC

Hello All, This code will run in your simulater. Please try it and help me understand why it does not work like I think it should. The sub RFM24_Configure should step through all the data statments...

View Article

BASCOM-AVR : data problem : REPLY

Hi, I've not looked at your code too closley but I'm doing something similar for my RFM73 module. Maybe you can make use of the code:- [code:1:20b327bc24] Sub Setup_radiomodule() 'Function : Setup...

View Article


BASCOM-AVR : data problem : REPLY

Thanks Ian, We are doing about the same thing. My code stops unexpected after the second data set. The next length in the next data set is 5 but the read returns 0. I should have commented the lengths...

View Article

BASCOM-AVR : data problem : REPLY

Hi, The 4th Byte in your data is 0. Could it be that the code is seeing that and stopping? As I said I've not looked at your code too much, and I have to leave for work now... Just try single stepping...

View Article

BASCOM-AVR : data problem : REPLY

Progress! I just removed some of the labels in the data and now the program reads data correctly till it comes to a label then stops again. Maybe there is something wrong with my labels. To long? I'll...

View Article


BASCOM-AVR : data problem : REPLY

Ian Thanks again, I have single stepped and it makes no sense. I think it's a problem for Mark to look at. If I put in any labels in the data the read statement breaks. I hope Mark is reading this...

View Article


BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work : REPLY

Hello, What is the pin configuration. Did you use the internal pull-up? Thomas

View Article

BASCOM-AVR : data problem : REPLY

when you put a label into the code the data need to be aligned. otherwise a RESTORE on a label will not work. For example : sample 1 abc: data 1 def: data 2 sample 2 abc: data 1 data 2 the second...

View Article

BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work : REPLY

Hello wieczus, No, not use pullup, only this on start of the code Config Com1 = 38400 , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Open "Com1:" For Binary As #1 'RS485...

View Article

BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work : REPLY

Take multimeter in hands. Is the both grounded together properly? Is the supply voltage is the same for each one? If one is 3,3V then interface with resistors is needed. Read Datasheet for second...

View Article


BASCOM-AVR : data problem : REPLY

Thanks Mark I'm glad it's not a bug in bascom. A warning by the compiler or in Language Fundamentals would be a good improvement. Here is my solution for now. if the last length is an even number add...

View Article

BASCOM-AVR : data problem : REPLY

My solution above did not work with my real data. I added dummy data for word alinement but still no good. Does anybody have a suggestion for this AVR limitation?

View Article


BASCOM-AVR : data problem : REPLY

[quote:34790e889e="albertsm"]when you put a label into the code the data need to be aligned. otherwise a RESTORE on a label will not work.[/quote:34790e889e] With all due respect :D I see no reason,...

View Article

BASCOM-AVR : Uart0 RX pin must have a resistor connected to GND to work : REPLY

Show us some more code, the loop where the wd resets. What serial statements are you using in this loop? Do you use the Config print = xx to switch Rs485 rx/tx mode?

View Article


BASCOM-AVR : data problem : REPLY

i did not say a label can not be an uneven word address. i said the address is always a word. which means it uses 2 bytes. this because all instructions use words (2 bytes). Some uses even 2 words. I...

View Article

BASCOM-AVR : data problem : REPLY

Sure, word alignement is important within the code segment, but this is all about a data segment. Also sure, data labels do not look different to code labels. A jump to an uneven data label would thus...

View Article

BASCOM-AVR : Xmega USART in SPI MODE : NEWTOPIC

Hi everyone! Please Help with Example settings COM2 (PORTC.7 PORTC.6) in MASTER SPI MODE. And an example of commands PRINT and INPUT. Not found examples this mode. :( Thanks, Ruslan....

View Article
Browsing all 20637 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>