Program ATtiny24 with mikroBASIC

Post your requests and ideas on the future development of mikroBasic PRO for AVR.
Post Reply
Author
Message
paco23
Posts: 7
Joined: 18 Nov 2014 22:13

Program ATtiny24 with mikroBASIC

#1 Post by paco23 » 18 Nov 2014 23:17

fail.JPG
fail.JPG (273 KiB) Viewed 2804 times
Hi,
Please someone can provide me a project writes in mikroBASIC in order to can program a ATtiny24 ?
I try using this project:
mikrocAVR.exe -MSF -DBG -pATTINY24 -DL -SSA -O11111114 -fo8 -N"C:\Agilent_ICT\boards\ALLEGIO\1030_589\1030\Examples\Internal MCU modules\ATmega16\Flash in MCU\Flash_test.mcpav" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for AVR\defs\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for AVR\uses\lte64kw\" -SP"C:\Agilent_ICT\boards\ALLEGIO\1030_589\1030\Examples\Internal MCU modules\ATmega16\Flash in MCU\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for AVR\Examples\Internal MCU modules\ATmega16\Flash in MCU\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for AVR\Examples\Internal MCU modules\ATmega16\" -SP"C:\Agilent_ICT\boards\ALLEGIO\1030_589\1030\Examples\Internal MCU modules\ATmega16\" "Flash_test.c" "__Lib_Math_NoHwMul.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_FLASH_rwe.mcl"

The ATtiny24 was programmed but I feel that something in the micro damage that wanted no answer .. :(

Please help me.
I'm attaching the pic with the fail.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Program ATtiny24 with mikroBASIC

#2 Post by filip » 28 Nov 2014 10:00

Hi,

The AVRFlash programmer works with the minimal SPI programming frequency of 1 MHz.
You have programmed the MCU using the 128 kHz option one time, and the MCU expects that this frequency is used from now on,
but the AVRFlash cannot supply this low programming frequency.

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for AVR Wish List”