BASCOM-AVR : Using a non-available/non-allowed channel with GETADC : REPLY
[quote:9d7a520bbc="astroschmidt"]Because it's a totally unexpected behaviour of GETADC.[/quote:9d7a520bbc] How would you consider an array overflow ? It will also produce highly unexpected results, if...
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : NEWTOPIC
Hi there, when debugging a program of mine with a very strange behaviour I found a bug in the IF...THEN...ELSE command when you use the 1-line form. You can [u:18d411df8f]not[/u:18d411df8f] put more...
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY
[quote:2777396ca5="astroschmidt"][code:1:2777396ca5]If A = 1 Then B = 2 Else C = 3 : D = 4[/code:1:2777396ca5] ...and simulate it, D will get assigned to 4 even though the conditiion for ELSE is not...
View ArticleBASCOM-AVR : XMEGA and SD card without AVR DOS : REPLY
Read this, think there's what you want. http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=8195&highlight=sdcard
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : NEWTOPIC
Hello, I have an issue with WS2812 LED strip and a Crumb Xmega128A3 controller board. I got code from German Bascom forum and it runs fine Atmega M644 @ 5V. I did some modification to port it to the...
View ArticleBASCOM-AVR : XMEGA and SD card without AVR DOS : REPLY
Thanks Evert, This seems exactly what I am looking for. Best Regards, Devidas
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
[quote:85d0d54fab="Flyby123"]I got code from German Bascom forum and it runs fine with Atmega M644 board @ 5V.[/quote:85d0d54fab] Did you ask for help in this forum then ? [quote:85d0d54fab]Since I am...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
It's much easier to control the WS28xx with the SPI. Trying to find my code now somewhere on my drives..........
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
Hi guys, No I did not ask in German forum yet since the issue is more Xmega + ASM related, I would think more Xmega knowledge would be situated here. Evert, I also have the WS2801 with SPI running...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
When you only port i would also recommend a virtual port. Second, bascom will use special xmega register when setting/resetting a port bit. While these instructions still use more code then a cbi/sbi,...
View ArticleBASCOM-AVR : XMEGA and SD card without AVR DOS : REPLY
if you do not want to use the overhead of the AVR-DOS file system you can still use the read/write sector routines.
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY
I can confirm that this is intentional by design. so this is not a bug.
View ArticleBASCOM-AVR : XMEGA and SD card without AVR DOS : REPLY
Its been a few years since I did this, but as I recall there is still a delay when the card writes it 512 byte sector. One usually, therefore, uses two, 512 byte arrays. Your program fills one while...
View ArticleBASCOM-AVR : Using a non-available/non-allowed channel with GETADC : REPLY
I could add a range check but it would mean that we need to check all datasheets again to check the range. And it is not sufficient to only check a constant, a passed parameter need to be checked as...
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY
[quote:16717d0429]If A = 1 Then B = 2 Else C = 3 : D = 4 ...and simulate it, D will get assigned to 4 even though the conditiion for ELSE is not fulfilled. [/quote:16717d0429] I use this...
View ArticleBASCOM-AVR : Bug in "IF...THEN...ELSE" when using the 1-line-fo : REPLY
[quote:58fe2a42eb="albertsm"]I can confirm that this is intentional by design. so this is not a bug.[/quote:58fe2a42eb] Ah. Now I understand the logic behind it. THX Mark and Visovian for...
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
[quote:20f65bb388="Flyby123"]Xmega knowledge would be situated here.[/quote:20f65bb388] If it's about XMEga, there's MAK3, who is pretty knowing. Now, did you use the virtual port, which should solve...
View ArticleEASY TCP/IP : BootLoader with NM7010 : REPLY
Welcome. Thank you for your reply. As I have several of these modules (NM7010) and ready the device cooperating with them. BootLoader have been captured on the module WIZ810MJ but the possibility of...
View ArticleBASCOM-AVR : XMEGA and SD card without AVR DOS : REPLY
Thank you all friends, I have ordered a couple of 2gb sandisk cards. And should be experimenting soon. Thanks to all. Regards, Devidas
View ArticleBASCOM-AVR : WS2811/2812 LED strip & Assembler code : REPLY
OK guys, I got it running with virtual port, thanks for the suggestions! Beside the virtual port I had to double the NOP's (assuming the Xmega runs twice as fast as the M644P at 16 Mhz. Code is not...
View Article