Hi,
I'm trying to register a bluetooth dongle (which cannot have its address changed) with my PS3. I have aN Arduino Uno with a at90usb82 chip but I can only find on the site sixaxis_pair_emu.hex (diyps3controller v2 - Sixpair-emu - firmware for the Teensy++) for at90usb1286.
would it be possible to release the hex for at90usb82?
cheers
cTiger
sixaxis_pair_emu.hex for at90usb82
Re: sixaxis_pair_emu.hex for at90usb82
Hi,
I will try to build other hex files. I just need to find some time to do that.
I will try to build other hex files. I just need to find some time to do that.
GIMX creator
Re: sixaxis_pair_emu.hex for at90usb82
After struggling quite a bit to get the code to compile, I finally succeeded or I thought so.
When i load the HEX file in FLIP, I get Address Out of Range.
I guess I must has screwed up some settings in Eclipse, here is a partial output of the compilation. Are there any special settings to configure ?
Building file: ../Descriptors.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"Descriptors.d" -MT"Descriptors.d" -c -o "Descriptors.o" "../Descriptors.c"
Finished building: ../Descriptors.c
Building file: ../sixaxis_pair_emu.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"sixaxis_pair_emu.d" -MT"sixaxis_pair_emu.d" -c -o "sixaxis_pair_emu.o" "../sixaxis_pair_emu.c"
Finished building: ../sixaxis_pair_emu.c
Building file: ../LUFA/Scheduler/Scheduler.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"LUFA/Scheduler/Scheduler.d" -MT"LUFA/Scheduler/Scheduler.d" -c -o "LUFA/Scheduler/Scheduler.o" "../LUFA/Scheduler/Scheduler.c"
../LUFA/Scheduler/Scheduler.h:201: warning: array 'Scheduler_TaskList' assumed to have one element
Finished building: ../LUFA/Scheduler/Scheduler.c
cheers
cTiger
When i load the HEX file in FLIP, I get Address Out of Range.
I guess I must has screwed up some settings in Eclipse, here is a partial output of the compilation. Are there any special settings to configure ?
Building file: ../Descriptors.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"Descriptors.d" -MT"Descriptors.d" -c -o "Descriptors.o" "../Descriptors.c"
Finished building: ../Descriptors.c
Building file: ../sixaxis_pair_emu.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"sixaxis_pair_emu.d" -MT"sixaxis_pair_emu.d" -c -o "sixaxis_pair_emu.o" "../sixaxis_pair_emu.c"
Finished building: ../sixaxis_pair_emu.c
Building file: ../LUFA/Scheduler/Scheduler.c
Invoking: AVR Compiler
avr-gcc -I"C:\WinAVR-20100110\Workspace\sixpair-emu\LUFA" -DNO_STREAM_CALLBACKS -DF_CLOCK=16000000 -DUSB_DEVICE_ONLY -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DBOARD=BOARD_UNO -DFIXED_CONTROL_ENDPOINT_SIZE=64 -DFIXED_NUM_CONFIGURATIONS=1 -Wall -Os -fpack-struct -fshort-enums -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=at90usb82 -DF_CPU=16000000UL -MMD -MP -MF"LUFA/Scheduler/Scheduler.d" -MT"LUFA/Scheduler/Scheduler.d" -c -o "LUFA/Scheduler/Scheduler.o" "../LUFA/Scheduler/Scheduler.c"
../LUFA/Scheduler/Scheduler.h:201: warning: array 'Scheduler_TaskList' assumed to have one element
Finished building: ../LUFA/Scheduler/Scheduler.c
cheers
cTiger
Re: sixaxis_pair_emu.hex for at90usb82
thanks but I also get the same error "Address is out of range"
any clues why ?
any clues why ?
Re: sixaxis_pair_emu.hex for at90usb82
Not enough memory!
AVR Memory Usage
----------------
Device: at90usb82
Program: 10874 bytes (132.7% Full)
(.text + .data + .bootloader)
Data: 854 bytes (166.8% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
AVR Memory Usage
----------------
Device: at90usb82
Program: 10874 bytes (132.7% Full)
(.text + .data + .bootloader)
Data: 854 bytes (166.8% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
GIMX creator
Re: sixaxis_pair_emu.hex for at90usb82
I arrived to the same result and I was looking to see if I could remove useless stuff but no success yet. would you have any great hints ?
Re: sixaxis_pair_emu.hex for at90usb82
I changed "OPT = 0" to "OPT = s" and I now get:
Size after:
AVR Memory Usage
----------------
Device: at90usb82
Program: 5048 bytes (61.6% Full)
(.text + .data + .bootloader)
Data: 854 bytes (166.8% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
I know there are 640 bytes in large arrays in sixaxis_pair_emu.c. It probably could be shrunk.
Size after:
AVR Memory Usage
----------------
Device: at90usb82
Program: 5048 bytes (61.6% Full)
(.text + .data + .bootloader)
Data: 854 bytes (166.8% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
I know there are 640 bytes in large arrays in sixaxis_pair_emu.c. It probably could be shrunk.
GIMX creator
Re: sixaxis_pair_emu.hex for at90usb82
Please test the attached hex file.
Size after:
AVR Memory Usage
----------------
Device: at90usb82
Program: 4998 bytes (61.0% Full)
(.text + .data + .bootloader)
Data: 278 bytes (54.3% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
Size after:
AVR Memory Usage
----------------
Device: at90usb82
Program: 4998 bytes (61.0% Full)
(.text + .data + .bootloader)
Data: 278 bytes (54.3% Full)
(.data + .bss + .noinit)
EEPROM: 10 bytes (2.0% Full)
(.eeprom)
- Attachments
-
- sixaxis_pair_emu.zip
- (4.92 KiB) Downloaded 665 times
GIMX creator
Re: sixaxis_pair_emu.hex for at90usb82
still the same error .
strange, I ve double checked the datasheet and the chip has 8-Kbyte self-programming Flash Program Memory, 512-byte SRAM, 512-byte EEPROM. so it should load. I tried a HEX for arduino and it loads so it is a problem with the built HEX. any other bright ideas?
ctiger
strange, I ve double checked the datasheet and the chip has 8-Kbyte self-programming Flash Program Memory, 512-byte SRAM, 512-byte EEPROM. so it should load. I tried a HEX for arduino and it loads so it is a problem with the built HEX. any other bright ideas?
ctiger