BASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY
Still not working, but put the SQW output (1Hz) on a IntX input and problem solved for the time being. Stupid it isn't working, but going on with my project. Every second a interrupt and timing is...
View ArticleBASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY
Hello Peter I have added the constants and config from my program to the post it should work just by copying it to yours as you can set the 1Hz output the I2C must be working. Regards Paul
View ArticleBASCOM-AVR : DS1307 At90usb1286 time not increasing : REPLY
Hello Paul, I've tryed to use your code, but for strange reason all DS1307 codesamples give the problem. Later I'll try it with a Mega8 or so to check if it's hardware related. Probably not so many...
View ArticleEASY TCP/IP : ENC28J60 and Bascom ( no ping, not visible in the network ) :...
If you have the tux board i suggest that you try first try Tux software to be sure that you build the hardware board correct.
View ArticleAVR-DOS : compiler error in Config_MMCSD_HC.BAS : NEWTOPIC
I've got two pieces of code - one is a small test program, the other a full product firmware. The AVR-DOS works great in the test program (writes a .csv file to SD card), but when compiling the...
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
Arera were you successful? I also want to know if there is a bootloader present from the main code, and have no idea which address(es) to peek or cpeek(0 or cpeekH() . I am using the atmega1284P
View ArticleBASCOM-AVR : Bug when using more than 64k Flash on ATMega 1284P : REPLY
Mark I am now running the beta but the help file is no longer accessible from within the editor. When i click on help or ?, nothing happens. How do i get it back?
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
Hi Neil, no, I gave up after some unsuccessful tries. The distribution of the the memory still is a mistery to me. That, on the other hand, doesn't mean anything! I'm using BASCOM to keep it simple,...
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
First, consult the datasheet, or [url]http://www.engbedded.com/fusecalc/[/url] about the possible boot addresses, for an ATMega32 for example, it is 0x3800, 0x3C00, 0x3E00 and 0x3F00. These addresses...
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
I agree with all your points. Have you tried it? I did, concerning byte-word fact and everything, but as far as I remember with no proper results.
View ArticleBASCOM-AVR : Bug when using more than 64k Flash on ATMega 1284P : REPLY
Questions about the beta should be directed to support. This is really off topic. But to answer the Q (this time) : you need to change the access rights of the chm file. Try what happens if you launch...
View ArticleAVR-DOS : compiler error in Config_MMCSD_HC.BAS : REPLY
just make sure that both programs use exact the same include files. Also, i have seen such code before : If Gbdriveerror = 0 Then $include "Config_AVR-DOS.BAS" Else Error_code.9 = True End If do take...
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
take in mind that when using a big chip to use cpeekH so you can access all pages. in 2077 cpeekH can set page automatic.
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
[quote:512c78981e="Arera"]Have you tried it?[/quote:512c78981e] No. It is obvious that the boot-loader has to be at a certain point in memory, which can be accessed, CPeek() or similar can do the job,...
View ArticleBASCOM-AVR : Bug when using more than 64k Flash on ATMega 1284P : REPLY
For the record : The beta did not come with a new chm only a new pdf. So i guess you forgot to copy the bascavr.chm file when you made a new test folder.
View ArticleBASCOM-AVR : Find out if bootloader is present in flash : REPLY
OK, we are approaching the core: I did not concern the difference between CPEEK and CPEEKH, and I'm using an mega1284! And I did not concern the possibility of a protected BL area. "no proper results"...
View ArticleBASCOM-AVR : Atmega-128AU : REPLY
Hello, I have very simple code but if I add Config Graphlcd, the code does not work. Without Config Graphlcd working. Do you know why ? [code:1:04f10b4114] $regfile = "m128def.dat" $hwstack = 128...
View ArticleBASCOM-AVR : SPI Multi byte communication : NEWTOPIC
I am trying to communicate ATMEGA8 micro controller with ADE7753, it fails every time. My code file is attached. This is my student project, I am confused 1- Sending a single byte as control byte to...
View ArticleAVR-DOS : compiler error in Config_MMCSD_HC.BAS : REPLY
After moving the $include statement around, I figured out the cause of the error. I had a constant definition that was clashing with the MMC $include. Const yes=1. The Config SPI line that was showing...
View Article