Search found 714 matches
- Wed Mar 05, 2014 5:58 am
- Forum: Programming & Software
- Topic: PetifFatFs (SDCARD)
- Replies: 19
- Views: 9263
Re: PetifFatFs (SDCARD)
**EDIT** Thanks Uze! The fix works great and I can navigate the entire world of Hyrule using the emulator now. Now I can develop away from home again. This may have already been fixed but I thought I'd share an update to the seek and file position bug. Seems that seeking DOES work in the emulator b...
- Sat Mar 01, 2014 5:20 am
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
Re: Protecting the bootloader when using ISP
Some cards tolerate it and some not. I don't think we can do much on this one. I usually "un-click" the SD card before ISP flashing, otherwise I have the same problem. I have a really simple test for this now. Takes the guesswork out of it. // Check that the SD card is working pf_mount(&a...
- Fri Feb 28, 2014 10:46 pm
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
Re: Protecting the bootloader when using ISP
Seems I was too quick to call it done.
New games don't start up. The bootloader is still accessible though.
I flashed a game and removed the -D switch from avrdude. The game starts up but the bootloader is gone again.
I still have the same problem.
New games don't start up. The bootloader is still accessible though.
I flashed a game and removed the -D switch from avrdude. The game starts up but the bootloader is gone again.
I still have the same problem.
- Fri Feb 28, 2014 9:43 pm
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
Re: Protecting the bootloader when using ISP
Super! Thanks Uze. I'm using the bootloader-fix.hex file that you provided me recently in another thread. Is IT now the official bootloader? Are people that develop directly on the hardware just using the bootloader/SD solution? I'm using my ISP because I can control it all from the PC.I have a batc...
- Thu Feb 27, 2014 12:44 pm
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
- Thu Feb 27, 2014 12:24 pm
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
Re: Protecting the bootloader when using ISP
Then perhaps a combining of the game and boot loader text into one hex?
- Wed Feb 26, 2014 1:27 am
- Forum: Hardware
- Topic: Protecting the bootloader when using ISP
- Replies: 9
- Views: 7338
Protecting the bootloader when using ISP
This will flash the bootloader: avrdude -p m644 -c usbasp -P usb -U flash:w:Bootloader_fix.hex But if you want to flash your game then you lose the bootloader. avrdude -p m644 -c usbasp -P usb -U flash:w:game.hex Is there a way to prevent bootloader overwrite? Some kind of write protect? I started t...
- Tue Feb 25, 2014 11:59 pm
- Forum: Programming & Software
- Topic: Movie Player not working
- Replies: 6
- Views: 3726
Re: Movie Player not working
So, I tried to program my Uzebox with my ISP, and it worked. It also removed the bootloader. I suspect it is because i did an erase cycle on it first. I flashed the bootloader, and used it to flash my game. The bootloader is back. I'm pretty sure this wasn't the way to do it, or maybe it was. Is the...
- Tue Feb 25, 2014 10:21 pm
- Forum: Programming & Software
- Topic: PetifFatFs (SDCARD)
- Replies: 19
- Views: 9263
Re: PetifFatFs (SDCARD)
I may have found another bug. Seems that I cannot go past 65535 in the emulator. // Lousy fix for the emulator bug. if(buggyemulator == 1 ){ for(unsigned char multiple = 0; multiple <= themap; multiple++){ for(unsigned int findex=0; findex < sizeof(screenbuffer1); findex++){screenbuffer1[findex] = 0...
- Mon Feb 24, 2014 4:17 am
- Forum: Programming & Software
- Topic: PetifFatFs (SDCARD)
- Replies: 19
- Views: 9263
Re: PetifFatFs (SDCARD)
Done! Sent in PM.