| ??? 01/15/08 17:48 Read: times |
#149480 - A simple EZUSB cypress AN2131SC example |
Hi,
I have an EZUSB Cypress AN2131SC chip and would like to program the 8051. All I would like to do is set address 0x7f96 to 0xff. My test.asm file contains:
.area CODE (ABS)
.org 0x00
mov 0x7f96,0xff
I compile it using: asx8051 -losx test.asm (version: ASxxxx Assembler V01.70 + NoICE + SDCC mods + Flat24 Feb-1999 (Intel 8051)) Then generate the ihx file: aslink -c ASlink >> -i ASlink >> -m ASlink >> -x ASlink >> -u ASlink >> test ASlink >> -e (version: ASxxxx Linker V01.70 + NoICE + SDCC Feb 1999) Hex output is: :0300000085FF96E3 :00000001FF Then transfer it using fxload: sudo fxload -I /home/dan/test.ihx -D /proc/bus/usb/002/003 -vvv (version: Sep 5 2007 (development)) Unfortunately I get the following error: microcontroller type: fx single stage: load on-chip memory open RAM hexfile image /home/dan/tacx/test.ihx stop CPU ** LINE: :0300000085FF96E3 record too short? unable to download /home/dan/tacx/test.ihx I am new to this so I would be grateful if someone could explain what I am doing wrong. Thanks, Dan |
| Topic | Author | Date |
| A simple EZUSB cypress AN2131SC example | 01/01/70 00:00 | |
| fxload expects CR/LF | 01/01/70 00:00 | |
| No memory type | 01/01/70 00:00 | |
| MOV? | 01/01/70 00:00 | |
| 0x7F96 => 0x96 | 01/01/70 00:00 | |
| Not the required result, then? | 01/01/70 00:00 | |
| Bible time | 01/01/70 00:00 | |
Thank You | 01/01/70 00:00 |



