Re: [AVR-Chat] avrdude, TINY2313 and writing EEPROM problem
2009-06-29 by catalin_cluj@hotmail
I had, on occasion, to change timings in the avrdude config file. I just increased some... basically trying my luck, and sometimes I got lucky. Cat
Yahoo Groups archive
Messages
Page 53 of 307 · 15341 messages matched
2009-06-29 by catalin_cluj@hotmail
I had, on occasion, to change timings in the avrdude config file. I just increased some... basically trying my luck, and sometimes I got lucky. Cat
2009-06-29 by Dennis Clark
> What is the source of the material you are trying to program the > EEPROM with? I think that needs to be a .elf file? > > Timing (ISP clock) should be no different than flash. When programming the EEPROM via ICSP the .eep file is the source of the data - and I've found that the
2009-06-29 by Bob Paddock
> What is the source of the material you are trying to program the > EEPROM with? I think that needs to be a .elf file? Newer version of AVRDude will work with .elf files, however .hex files are usually used. -- http://www.wearablesmartsensors.com/ http://www.softwaresafety.net/
2009-06-29 by Jim Wagner
What is the source of the material you are trying to program the EEPROM with? I think that needs to be a .elf file? Timing (ISP clock) should be no different than flash. Jim Wagner Oregon Research Electronics On Jun 28, 2009, at 8:58 PM, dlc wrote: > > > The EEPROM works fine - I
2009-06-29 by dlc
The EEPROM works fine - I can write and read it in a program, avrdude just won't write it during programming. Maybe a timing setting in avrdude can correct that? DLC Bob Paddock wrote: >> Has anyone seen this before and solved it? Is there a later version of >> avrdude that fixes
2009-06-28 by Dave VanHorn
I'm on the market again. Looking for embedded systems work, preferrably in the area between Dayton OH and Pittsburgh PA. I'd appreciate any leads. I'm in Dayton this week, looking at a couple of opportunities.
2009-06-27 by stevech11
re c1 = (unsigned char)i1>>2; I make a habit of coding as below to make operator precedence explicit: c1 = (unsigned char)(i1>>2); --- In AVR-Chat@yahoogroups.com, ÐнÑоÑенков Роман Ð'икÑоÑÐ¾Ð²Ð¸Ñ wrote: > > Hello! > > Problem solved. It is my fault. > > >> i1
2009-06-27 by Virgil Stana
maybe because 256 IS 0 (8 bit) ? --- On Fri, 6/26/09, Антощенков Роман Викторович wrote: From: Антощенков Роман Викторович Subject: [AVR-Chat] logical shift operation To: AVR-Chat@yahoogroups.com Date: Friday, June 26, 2009, 8:10 PM Hello! I am coding in AVRStudio 4.16 and WinAVR
2009-06-27 by Bob Paddock
> Has anyone seen this before and solved it? Is there a later version of > avrdude that fixes the problem? Am I simply doing something wrong? Have you tried a different part? We program a lot of Tiny2313 that use section of the EEPROM, have not had any problems with AVRDude doing
2009-06-27 by dlc
I have avrdude 5.5 and I'm pleased as can be with it, until now. I am using the avr libc EEPROM routines and setting the EEPROM memory up properly to start with data in the EEPROM. I've confirmed that the eep file is fine. When I try to program my TINY2313 nothing after byte 3 ge
2009-06-27 by David Kelly
On Jun 26, 2009, at 11:27 PM, Dao Viet Dung wrote: > c1 is a uchar so it can be 256 (0x100). I will be casted to 0. No it can not. Char can not be larger than 0xff, 255. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================
2009-06-27 by Антощенков Роман Викторович
Hello! Problem solved. It is my fault. >> i1 = 1024; >> i2 = i1 >> 2; >> c1 = (unsigned char)i1>>2; >> >> Why c1 = 0? Must be c1 = 256! i1 = 1023; ! i2 = i1 >> 2; c1 = (unsigned char)i1>>2; c1 = 255 ! -- Best regards, Roman Antoshchenkov mailto:djantoxa@rambler.ru
2009-06-27 by David Kelly
On Jun 26, 2009, at 12:10 PM, Антощенков Роман Викторович wrote: > Hello! > > I am coding in AVRStudio 4.16 and WinAVR-20090313 > > Code: > unsigned int i1 = 0; > unsigned int i2 = 0; > unsigned char c1 = 0; > > i1 = 1024; > i2 = i1 >> 2; > c1 = (unsigned char)i1>>2; > > Why c1 =
2009-06-27 by vietdung79
> > Hello! > > I am coding in AVRStudio 4.16 and WinAVR-20090313 > > Code: > unsigned int i1 = 0; > unsigned int i2 = 0; > unsigned char c1 = 0; > > i1 = 1024; > i2 = i1 >> 2; > c1 = (unsigned char)i1>>2; > > Why c1 = 0? Must be c1 = 256! > > -- > Best regards, > Roman Antoshchen
2009-06-26 by Антощенков Роман Викторович
Hello! I am coding in AVRStudio 4.16 and WinAVR-20090313 Code: unsigned int i1 = 0; unsigned int i2 = 0; unsigned char c1 = 0; i1 = 1024; i2 = i1 >> 2; c1 = (unsigned char)i1>>2; Why c1 = 0? Must be c1 = 256! Same in dissasemble view: 289: i1 = 1024; +00000450: E080 LDI R24,0x00
2009-06-25 by John Samperi
At 06:11 PM 25/06/2009, you wrote: >Is that true, Some people have been offering their "services" on avrfreaks.net in the past. Of course they were considered as spammers but someone took up the offer as a challenge and send them a locked (Mega??) chip only to receive a perfectly
2009-06-25 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: 24 June 2009 23:43 To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] REVERSE ENGINEERING > > So the chips will most likely be locked, apparently you > can
2009-06-25 by David VanHorn
On Wed, Jun 24, 2009 at 8:09 PM, PEZHMAN BOUSSINA wrote: > I think you should contact the company and tell them what you want if the > code is good. If the code is junk then do it from scratch. > Amazingly often, the answer is "NO", even when the prospective client is willing to
2009-06-25 by dlc
That's impressive. DLC Bob Paddock wrote: >> The code may not have >> been written in assembly, and assembly instructions are all that you >> will be able to read back. I've yet to see an assembly to C translator >> or assembly to Basic translator, depending upon the original lan
2009-06-25 by Bob Paddock
> The code may not have > been written in assembly, and assembly instructions are all that you > will be able to read back. I've yet to see an assembly to C translator > or assembly to Basic translator, depending upon the original language > the developers used to create the code
2009-06-25 by PEZHMAN BOUSSINA
I think you should contact the company and tell them what you want if the code is good. If the code is junk then do it from scratch. PJ --- On Wed, 6/24/09, David VanHorn wrote: From: David VanHorn Subject: Re: [AVR-Chat] REVERSE ENGINEERING To: AVR-Chat@yahoogroups.com Date: Wed
2009-06-24 by Arao H. Filho
On my company all AVR microcontrollers that go to the market are locked, reading them will get you a sequency like 123456....abcde.... try to read it, if you see such type of data, it's locked. 2009/6/24 John Samperi > > > At 03:35 PM 24/06/2009, you wrote: > >I have a automobile
2009-06-24 by John Samperi
At 03:35 PM 24/06/2009, you wrote: >I have a automobile interface PC to PCM that I am trying to reverse engineer, > the microcontroller is an ATmega 323L, Post you home address while you are there, who knows, the company that designed the unit is likely be a member and will come
2009-06-24 by dlc
Exactly my point. DLC David VanHorn wrote: >> Unless you are only trying to change a couple of constants in the code >> your odds of success here are pretty marginal. The code may not have >> been written in assembly, and assembly instructions are all that you >> will be able to
2009-06-24 by David VanHorn
> Unless you are only trying to change a couple of constants in the code > your odds of success here are pretty marginal. The code may not have > been written in assembly, and assembly instructions are all that you > will be able to read back. I've yet to see an assembly to C tra
2009-06-24 by Dennis Clark
> I have a automobile interface PC to PCM that I am trying to reverse > engineer, the microcontroller is an ATmega 323L, I want to modify the > firmware controlling the processor. I gave myself a quick lesson in ISP > Programming. I now know that I know enough to get myself in tr
2009-06-24 by David VanHorn
On Wed, Jun 24, 2009 at 1:35 AM, Kevin Madden wrote: > I have a automobile interface PC to PCM that I am trying to reverse engineer, the microcontroller is an ATmega 323L, I want to modify the firmware controlling the processor. I gave myself a quick lesson in ISP Programming. I
2009-06-24 by ayman@elkhashab.com
On Wed, Jun 24, 2009 at 05:35:29AM -0000, Kevin Madden wrote: > I have a automobile interface PC to PCM that I am trying to reverse engineer, the microcontroller is an ATmega 323L, I want to modify the firmware controlling the processor. I gave myself a quick lesson in ISP Progra
2009-06-24 by s.holder123@btinternet.com
Do you have access to any of the isp pins (MOSI/MISO/CLK/RESET) are there any pins brought out to connectors ? If so you can wire the pins to a AVRISP, and connect to it through the avr studio, at least you may be able to read the fuses and lock pins, it is more than likely prote
2009-06-24 by Kevin Madden
I have a automobile interface PC to PCM that I am trying to reverse engineer, the microcontroller is an ATmega 323L, I want to modify the firmware controlling the processor. I gave myself a quick lesson in ISP Programming. I now know that I know enough to get myself in trouble. I
2009-06-21 by Octavio
unsubscribe [Non-text portions of this message have been removed]
2009-06-18 by Dennis Clark
Bill, Thanks a ton. You'll save me the hassle of writing it myself. Especially if yours works already and I don't have a bus analyzer on hand! I'm running at 4MHz, and may move to 1MHz to save power so the timing can either be changed or I'll just accept the slower clock, a few h
2009-06-18 by hal.foster
When in slave mode, and the /SS is driven high, the data sheet says: "...the SPI slave will immediately reset the send and receive logic, and drop any partially received data in the shift register." OK, but does the SPIF flag get set? Would I be correct in assuming that it doesn'
2009-06-18 by AVR-Chat@yahoogroups.com
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the AVR-Chat group. File : /i2c.zip Uploaded by : internetwasteland Description : I2C master bit-bang code for ATTiny24 You can access this file at the URL: http://group
2009-06-18 by internetwasteland
--- In AVR-Chat@yahoogroups.com, dlc wrote: > I got the file. The code looks stupid simple, how well does it work > and with what devices have you tried it? The code seems pretty obvious, > but the demo routines in there don't seem complete, for instance: > if (!I2CPut(atod_reg,
2009-06-18 by dlc
Bill, I got the file. The code looks stupid simple, how well does it work and with what devices have you tried it? The code seems pretty obvious, but the demo routines in there don't seem complete, for instance: if (!I2CPut(atod_reg, 2)) atod_reg is never set to anything, it will
2009-06-17 by catalin_cluj@hotmail
Very nice, thank you. Cat -------------------------------------------------- From: Sent: Wednesday, June 17, 2009 10:12 AM To: Subject: [AVR-Chat] GPL'd USB AVR Programmer > hey folks, > > i've posted the design files / code / pictures of my variant ...
2009-06-17 by Klaus
From a frist view: Very well done!!!! Compliments! _____ Von: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] Im Auftrag von ayman@elkhashab.com Gesendet: Mittwoch, 17. Juni 2009 18:13 An: AVR-Chat@yahoogroups.com Betreff: [AVR-Chat] GPL'd USB AVR Programmer hey folks,
2009-06-17 by ayman@elkhashab.com
hey folks, i've posted the design files / code / pictures of my variant of the open source usb isp programmers. Works fine with AVR dude. The new pcb design is on the site, though i didn't spin one with that design yet, it is a couple of net changes from the (working) design on t
2009-06-17 by internetwasteland
--- In AVR-Chat@yahoogroups.com, dlc wrote: > Thanks, that sounds useful. I've tried to upload the file I2C.ZIP to the files area. I'll check later to see if it came through. Bill
2009-06-16 by leon Heller
----- Original Message ----- From: To: Sent: Monday, June 15, 2009 10:53 PM Subject: [AVR-Chat] asm in Crossworks > Hi all, > Is there a way to mix asm instructions with C code on Crossworks for AVR? > Tried asm("..."); but not works. > Their MSP430 compiler doesn't support in-li
2009-06-15 by kozzyamadeus@ymail.com
Hi all, Is there a way to mix asm instructions with C code on Crossworks for AVR? Tried asm("..."); but not works. Regards,
2009-06-15 by Dao Viet Dung
You can use MODBUS with many information in the internet. Or try the Xmodem protocol in the App Note 350 in Atmel.com : http://atmel.com/dyn/resources/prod_documents/doc1472.pdf Regards. --- On Mon, 6/15/09, Brian wrote: From: Brian Subject: [AVR-Chat] Temp Datalogger To: AVR-Cha
2009-06-15 by Jim Wagner
For wire communication, you can use a very simple protocol. I would start with a framing character that will never appear in the data (such as 0xff). I would send the data in ASCII, probably comma or tab delimited. That makes it really easy to process at the PC end. Then terminat
2009-06-15 by Brian
I am working on a temp datalogger. I am using a mega16 using CodeVision and Visual Basic 2008. So far all is working. Does anyone know of a tutorial or book that would show/teach me communication protocols using the USART? I know there are other forms of comms but I am wanting to
2009-06-14 by dlc
Thanks, that sounds useful. DLC internetwasteland wrote: > --- In AVR-Chat@yahoogroups.com, "Dennis Clark" wrote: >> Greetings, >> >> Another fellow and I are working on creating avr-gcc code to make an I2C >> master on a Tiny2313 using the USI module. We have some code from M8 o
2009-06-11 by John Samperi
At 10:34 AM 11/06/2009, you wrote: >Google shows him here: > http://wizbangdesigns.blogspot.com/ How embarrassing, he has been a contributor to avrfreaks.net for a long time, I just knew him as Tom. Recently he has been trekking Iran, so not sure if he is back home yet. http://ww
2009-06-11 by dlc
Hey, it's worth a try! I'll see if he is still "out there". If I find anything out, or get something to work I'll be sure to post about it! thanks all, DLC Roy E. Burrage wrote: > Google shows him here: > > http://wizbangdesigns.blogspot.com/ > > He has a couple of pretty cool ad
2009-06-11 by Roy E. Burrage
Google shows him here: http://wizbangdesigns.blogspot.com/ He has a couple of pretty cool adapter boards for the USBKEY and Dragon boards for those who have a difficult time finding the header connectors, but links to the on-line store don't work. Perhaps an e-mail directly to hi
2009-06-10 by John Samperi
At 01:00 AM 11/06/2009, you wrote: >make an I2C >master on a Tiny2313 using the USI module. Someone by the name of Tom Deutschman has written some code for master and slave. The only thing I can get from one of the files is: http://www.projectpoint.us/twi_master.c but it does not