Page 1 of 1
ViperGC Extreme flash file system access
Posted: Mon Jun 27, 2011 6:06 pm
by infact
I have recently been working on viper gc / extreme support for some applications (mainly usb related things -> viper usb adapter).
I think of ViperGC Extreme flash file system support in swiss (like the qoob pro file system) and accessing the loader from my vua_receiver(tbr) stub.
But I have problems getting the contents of the flash.
Anyone here with some working vipergc source code?
Re: ViperGC Extreme flash file system access
Posted: Mon Jun 27, 2011 11:10 pm
by emu_kidid
infact, at the start of the application I recall you have to call up some methods of theirs in their "SDK". Also, if you look at "Previously undocumented ViperGC/Extreme functions"
here (I assume you have already) it might help you.
Re: ViperGC Extreme flash file system access
Posted: Mon Jun 27, 2011 11:36 pm
by infact
Yeah, I'm doing all the ViperInit() stuff, but when I access the flash, I only get garbage or exceptions.
Maybe it is related to some other stuff that is included in my program (usb, dol launcher, etc.)
Will start from scratch tomorrow.

Re: ViperGC Extreme flash file system access
Posted: Sat Jul 02, 2011 12:40 pm
by Dragoon
I'm getting a error saying CONFIG_FILE_NBSECTORS is undeclared
Do you know it's definition?
Re: ViperGC Extreme flash file system access
Posted: Sun Jul 03, 2011 11:16 am
by infact
look again at the line in the file and guess
viper-undocumented.c wrote: FLASH_FILE_TYPE files[CONFIG_FILE_NBSECTORS]; // 32 files max
Re: ViperGC Extreme flash file system access
Posted: Sun Jul 03, 2011 6:35 pm
by Dragoon
#define CONFIG_FILE_NBSECTORS 32
???
Re: ViperGC Extreme flash file system access
Posted: Sun Jul 03, 2011 11:18 pm
by emu_kidid
clearly yes.
Re: ViperGC Extreme flash file system access
Posted: Mon Jul 04, 2011 6:41 am
by Dragoon
lol... now I feel kinda stupid

in function ViperGetVersionInit();
I think it said ViperVersion(), I changed that to version (wich refers to struct{}CONFIG_TYPE) is that the right one?
Or am I doing something clearly wrong now?