Starnge problem. Using Arduino Im able to upload a sketch. But Im using Bascom which cant upload. (Gets the error: Programmer not responding.)
Then I try to program using avrdude direct. Here is the command Line:
avrdude.exe -ce:\arduino-0022\hardware\tools\avr\etc\avrdude.conf -p -p -p m2560 -c stk500v2 -P\.\COM19 -b115200 -D -Uflash:w:e:Myproject.hex:i
Device signature = 0x1e9801
Reading input file “…”
writing flash <12750 bytes>
writing … 98% 1.81s
and then i get timeout. Every time.
Have attached the hex file for my project.
Have been using the Mega 1280 with no problems at all. (Both in Arduino and in Bascom!)
PowerSentralV1.hex (35 KB)