Acidmods
AcidMods Resources ----- ( These are helpful tools for modding ) => Open Source Code & AcidMods Free Code => Topic started by: Hazer on May 01, 2012, 03:56:53 PM
-
Here is the asm files for now. I will add the schematics, eagle files, and VC++ files when I find them. Also, this is actually FLEX with the RS232 part commented out.
.mediafire.com/?bi4a3pbulbycfj9[/url]
New files:
http://www.mediafire.com/?ps78nu4wcq8r8sq (http://www.mediafire.com/?ps78nu4wcq8r8sq)
install pdf:
http://www.mediafire.com/view/?zwaztwmmjmd (http://www.mediafire.com/view/?zwaztwmmjmd)
I apologize. I have been having trouble finding the original files. I had to rewrite what I did have and then compile each to get rid of the errors. What is included in the above link is the asm files for the Final Rapidfire and the Flex asm files. I have also included the Eagle files. What I am now (permanently) missing is the VB files for the utility. I have searched old HDD, old burned backup disks, and even scoured my thumbdrives looking for the files with no luck. I am going to call the VB files a loss at this point. Besides, RS232 was such a hastle especially when I plan to release everything about the USB stuff (so much nicer and easier).
-
You are the man! I cant wait to make this! Thanks Hazer
-
Hazer, thanks so much for this. I have been working on writing code like this for a long time, as some people on here know, but had some problems that I haven't had time to work around. I look forward to working with this code, and figuring out where mine went wrong. I might also try to add some mode saving capability to the programming application.
Edit: I just looked at the source code. LMAO!! Did you get a little frustrated when working with the LED code? I can tell from the labels. When I was trying to do the same LED code in my program, I was having an issue with both LEDs lighting up when only one should have been, were you having this problem when you first created the code?
Also, flex uses a different LED scheme than this does, correct? You used two LEDs on a single pin with the Final Rapidfire so there is room for the send and receive pins.
-
OMG OMG OMG OMG OMG OMG
-
you can call me a dumb :censored: but whats the diff between the flex RF and this code?
-
This code has RS232 connectivity that lets you connect the controller to a computer to change the speeds on the fly.
-
you can call me a dumb :censored: but whats the diff between the flex RF and this code?
This is why
Final Rapidfire Controller X360 (http://www.youtube.com/watch?v=OX2KQWovOy8#)
-
I will wait for the schematic to test it
Thanks Hazer you are the :#1:
-
use flex images
read through the code and you will find:
;************Pin names*********************
LEDL equ 5
LEDR equ 4
PINRECV equ 3
BUTTONR equ 2
TRIGGERL equ 1
TRIGGERR equ 0
then reference the data sheet:
pin1 - vdd
pin2 - ledL
pin3 - LEDR
pin4 - REC
pin5 - buttonR
pin6 - triggerL
pin7 - triggerR
pin8 - gnd
-
Well I cant wait to have a go at installing this one! Ive pretty much made all of the Codes on this sight im always after another install chellenge, as Ill leave the code writing up to the experts! However I can pretty much install anything and this looks like fun :hifive:
Is the Hex or list of whats needed been dropped yet?
-
THis is the flex code with the usb conectivity added.
What has been posted here is the ASM files for the code. Using the ASM you could build upon or modify this code. OR you can take the ASM open it in MPLAB and recompile it. MPLAB would then spit out the hex file to be wrote to your chip.
The only other components you would need would be the usb or 3.5mm port/jack.
To my knowledge, hazer has not released the pc utility for this mod yet. So this is just another form of flex until he does.
-
I think it connects to the serial port on your PC not USB.
I am trying to build the HEX in MPLAB, but I keep getting 'BUILD FAILED' ive tried different file paths and it still fails. Does anyone want to give it a try and post up the HEX file?
-
I think it connects to the serial port on your PC not USB.
I am trying to build the HEX in MPLAB, but I keep getting 'BUILD FAILED' ive tried different file paths and it still fails. Does anyone want to give it a try and post up the HEX file?
Phantomz0 is right. The Matrix compiles fine. The CG2 does not though.
Lines 1011-1040 are the subroutines in the CG2 code. They seem to be commented out so that every call to those routines fails.
Now the CG2Final.asm compiles. But there is a FlexCG2.asm in there as well that does not. Is it needed?
-
Hazer,
I thought that you did a single pin for both LEDs with the Final Rapidfire code, so that you had a transmit and receive pin for the RS232. Am I mistaken?
-
I was also wondering how the send and recieve was handled, but reading the ASM it is clear only one pin was used for programing and two pins were used for leds.
-
The PC utillity can be found here http://www.mediafire.com/?jzmzo0onb13 (http://www.mediafire.com/?jzmzo0onb13)
I was also wondering how the send and recieve was handled, but reading the ASM it is clear only one pin was used for programing and two pins were used for leds.
The labels in the ASM are wrong the correct pin out is-
1. Vdd
2. LED control pin (goes to the middle of the two series LEDs)
3. Serial Tx
4. Serial Rx
5. Mode Switch (active low)
6. Left trigger
7. Right trigger
8. GND
The best way to use this mod is with a cheapo usb serial converter like this,
http://www.ebay.co.uk/itm/USB-2-0-RS232-SERIAL-DB9-DB-9-PIN-ADAPTER-CONVERTER-CABLE-LEAD-GPS-PDA-PC-/160691781845?pt=UK_Computing_TV_Tuner_Video_Capture_Devices&hash=item2569fa00d5#ht_1694wt_1189 (http://www.ebay.co.uk/itm/USB-2-0-RS232-SERIAL-DB9-DB-9-PIN-ADAPTER-CONVERTER-CABLE-LEAD-GPS-PDA-PC-/160691781845?pt=UK_Computing_TV_Tuner_Video_Capture_Devices&hash=item2569fa00d5#ht_1694wt_1189)
Also a voltage divider should be put on the Rx Pin to step down the >3 voltages from the serial ports.
-
Thanks Hyper, that is what I thought.
-
*BUMP* files fixed read OP above.
-
Here is the asm files for now. I will add the schematics, eagle files, and VC++ files when I find them. Also, this is actually FLEX with the RS232 part commented out.
.mediafire.com/?bi4a3pbulbycfj9[/url]
New files:
http://www.mediafire.com/?ps78nu4wcq8r8sq (http://www.mediafire.com/?ps78nu4wcq8r8sq)
install pdf:
http://www.mediafire.com/view/?zwaztwmmjmd (http://www.mediafire.com/view/?zwaztwmmjmd)
I apologize. I have been having trouble finding the original files. I had to rewrite what I did have and then compile each to get rid of the errors. What is included in the above link is the asm files for the Final Rapidfire and the Flex asm files. I have also included the Eagle files. What I am now (permanently) missing is the VB files for the utility. I have searched old HDD, old burned backup disks, and even scoured my thumbdrives looking for the files with no luck. I am going to call the VB files a loss at this point. Besides, RS232 was such a hastle especially when I plan to release everything about the USB stuff (so much nicer and easier).
Hazer,
I still have the project files from my RS232 program, written in visual basic. I never completed it, but it is most of the way done. I could put the finishing touches on the program and release it if anyone is interested. I would just need someone to test it, because I don't intend to create a controller with a RS232 interface (working on USB).
-
Hey Everyone,
I have been lurking for quite some time. I have some questions on the final rapidfire. Please forgive my ignorance.
But for this install, does anyone have a part number for the multi-color LED that was used? Also for the 3.5mm jack?
Thanks.
Txchevyz71
-
You can use a bi-color led if you want, but the one that was used in Hazer's kit is actually 2 leds glued together. You can use any 3.5mm audio jack like this http://www.radioshack.com/product/index.jsp?productId=2103452 (http://www.radioshack.com/product/index.jsp?productId=2103452)
Hazer's install guide calls for a custom pcb, I plan to write up an install to make this without a pcb as soon as i get my parts from china. Also, it doesn't demonstrate how to create a programming cable, but when i make my install guide, i'll cover that too.
-
I have been making all of my mods on boards like this http://www.digikey.com/product-detail/en/9081/9081CA-ND/151975 (http://www.digikey.com/product-detail/en/9081/9081CA-ND/151975)
With the soic version of the 12F683 I have been able to install it in the middle of the controller with no issues
-
You can use a bi-color led if you want, but the one that was used in Hazer's kit is actually 2 leds glued together. You can use any 3.5mm audio jack like this http://www.radioshack.com/product/index.jsp?productId=2103452 (http://www.radioshack.com/product/index.jsp?productId=2103452)
Hazer's install guide calls for a custom pcb, I plan to write up an install to make this without a pcb as soon as i get my parts from china. Also, it doesn't demonstrate how to create a programming cable, but when i make my install guide, i'll cover that too.
Actually you can't use a bi-color led. A bi- color led, at least all that I have ever seen, shares either anode or cathode between both leds. To control both leds with a single pin, you have to connect the pin to anode of one led and cathode of the other, so that you drive the pin high to light one led and drive the pin low to light the other.
-
Actually you can't use a bi-color led. A bi- color led, at least all that I have ever seen, shares either anode or cathode between both leds. To control both leds with a single pin, you have to connect the pin to anode of one led and cathode of the other, so that you drive the pin high to light one led and drive the pin low to light the other.
my bad. you're right
-
Im having trouble getting this to work, I think its the LED's thats the problem. Should they look like this?
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2Fled2.jpg&hash=3ab6e945eb67b682b55df6f0a4b123473ce0d000)
with the green wire going to a 100ohm resistor then pin 2?
-
Im having trouble getting this to work, I think its the LED's thats the problem. Should they look like this?
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2Fled2.jpg&hash=3ab6e945eb67b682b55df6f0a4b123473ce0d000)
with the green wire going to a 100ohm resistor then pin 2?
Yes that is correct
-
ahh I have the rapidfire working now..
only problem now is the serial jack, this is the one im using http://www.farnell.com/datasheets/41016.pdf (http://www.farnell.com/datasheets/41016.pdf) which pins should be tx/rx?
I just get an error when I try to send the config
Ive ordered a usb to serial converter, so that might sort it out.
Here are some pics of the serial jack placement
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FIMAG0326-1.jpg&hash=58bd49dfe6813b5a9562b0eef27d105088ab0025)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FIMAG0327.jpg&hash=9a3f1b5a8f6de567345626f26faa16eb7bc2b6ad)
-
that looks sweet.... be cool if this worked on wired controllers.
-
ahh I have the rapidfire working now..
only problem now is the serial jack, this is the one im using http://www.farnell.com/datasheets/41016.pdf (http://www.farnell.com/datasheets/41016.pdf) which pins should be tx/rx?
I just get an error when I try to send the config
Ive ordered a usb to serial converter, so that might sort it out.
Here are some pics of the serial jack placement
What are you currently using to program it(e.g desktop PC serial port, laptop serial port)? and what error do you get?
I don't think it really matters how the jack is wired as long as the cable matches, I think (not 100% sure) hazer's were wired like this
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fwww.ciseco.co.uk%2Fimages%2Fserial%2520programming%2520cable.gif&hash=a4f1f9d281038da4ff1043bc3b37c4136cb3453c)
-
Im using a desktop PC I can only see the 'communications port (COM1)' in device manager which i assume is the serial port, it tests OK in the app. Hazers app says 'programing fail Read Timeout.' press ok 'programming failed check connections or port'
The cable I was using didnt match the above pinout, so I rewired it to match, but I still get the same error.
-
Im using a desktop PC I can only see the 'communications port (COM1)' in device manager which i assume is the serial port, it tests OK in the app. Hazers app says 'programing fail Read Timeout.' press ok 'programming failed check connections or port'
The cable I was using didnt match the above pinout, so I rewired it to match, but I still get the same error.
I would think then that that is happening because your serial port is true RS232 so the pic cannot put a high enough voltage at its output pin for your serial port to recognise a change in state, but it should work fine with your usb > serial converter.
-
The controller is on while you are programming, yes? It needs to be.
If that does not help, try swapping the tx and rx wires somewhere (your cable or in the controller, whichever is easiest).
-
yep the controller is turned on. Ive tried swapping the tx/rx wires and its still the same so I will give it another go when I get the usb to serial converter. thanks guys
-
Did you use something to invert the signals to TTL instead of RS232? I am pretty sure that this is required, unless Hazer accounted for it in his code. Attached is an image of how to do it. (Credit to http://www.electro-tech-online.com/attachments/micro-controllers/4897d1117851836-rs232-level-shifting-power-consumption-ttl-232_convertor.jpg (http://www.electro-tech-online.com/attachments/micro-controllers/4897d1117851836-rs232-level-shifting-power-consumption-ttl-232_convertor.jpg), but I think you have to register to see the image there.)
(https://dl.dropbox.com/s/p5gcusaf13qlpdd/ttl-232_convertor.jpg?dl=1)
-
I found I had the TX and ground wires the wrong way around on the 3.5mm jack... lol. I have it working now using the USB to Serial converter, didnt have to use the transistors in the pic above, thanks hyper and magicman for the help
and thanks Hazer!!! :#1:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FIMAG0426-1.jpg&hash=6e3e961cfc57046231dc50cb5abeba382483c160)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FIMAG0427.jpg&hash=c68257b6668f6ead100bef865e8cc9f0887dae8b)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FIMAG0429.jpg&hash=5592c1dcae9c6a1d06202a9756689ceeb39780ec)
-
Has anyone the .hex files? I was going to compile with MPLab but i dont know why I cant boot Windows xp with my mac I get an error with VMWare fusion :(
-
this is for CG :cool:
http://www.mediafire.com/?j0wzc12cu6ztnif (http://www.mediafire.com/?j0wzc12cu6ztnif)
-
this is for CG :cool:
http://www.mediafire.com/?j0wzc12cu6ztnif (http://www.mediafire.com/?j0wzc12cu6ztnif)
Thanks (again) phantomz0
Guys what cable would you recommend me. I have two but I have cut off the and the wires are too thin, here is a pic:
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1099.photobucket.com%2Falbums%2Fg385%2Frafaliyo86%2F8158c943.jpg%3Ft%3D1340973175&hash=507604c2350b06d41187c3c4578e9a01554321fc)
Will they work or I should try it with another cable?
-
The wires being thin shouldn't be a problem, most people (myself included) use 30 gauge wire inside the controller.
-
The wires being thin shouldn't be a problem, most people (myself included) use 30 gauge wire inside the controller.
But this wires are from the 3.5mm cable and will go to the db9 connector. And i dont know they will work I should try it
EDIT: well I have found another cable that I had and this isn´t so thin.
I am going to star with the installation but I have two issues:
1 - How do I know how the wires are connected from the cable (I have red, white and yellow wires) to DB9 connector
2 - How do I know which are TX, RX and Ground in the jack connector to connect them properly to the pic
EDIT2: Well thanks to hyper now I know which are the connections from the cable.
I have (almost) everything to start but I have problems with the jack connector. I have one which is so big and I cant fit in the controller. Could you recommend me another one smaller?
-
Hi guys, I have installed final rapid fire but when I plug the cable windows ask me for drivers (i suppose they will be for the serial-usb converter but i haven´t them :(). If I go to the control panel here is what i have
I have changed rx tx from the jack connector and even in the db9 connector. Could you help me??
EDIT: I am sure its the usb-serial cable the problem. I dont have the drivers but I have downloaded from its website but I get an error yet
[spoiler](https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Ffotos.subefotos.com%2F76698b6a27cd85ed77e90e3a4a662458o.png&hash=06a8c6002ed6f4a45921f332e62cedb485d4b405)[/spoiler]
I think I should buy a new cable with its proper drivers
-
I think these are the drivers you need http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41 (http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41)
what is the error you get?
-
I have installed them but I have the error aswell
I get error code 10, this device cannot start
EDIT: I have read the manual and it seems like the cable could be a fake :fear: but I bought it in a local store near my job and it doesn´t look as a chinese copy. The brand is eminent
-
Well guys finally I have my controller working :tup:
I would like to give special thanks to Hazer for the code, phantomz0 because he has helped me a lot with PM, pics, etc (I think I have been a pain for him) and also hyper and the others members
Here are some pics of my controller:
[spoiler](https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1099.photobucket.com%2Falbums%2Fg385%2Frafaliyo86%2F793eb958.jpg%3Ft%3D1343335607&hash=7e5a536d592a1c6e825565f0b812daab8e32b9bf)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1099.photobucket.com%2Falbums%2Fg385%2Frafaliyo86%2Ff78692d8.jpg%3Ft%3D1343335611&hash=9d35660c048f2cbe1c37a31a0303d655ec4fe71f)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1099.photobucket.com%2Falbums%2Fg385%2Frafaliyo86%2F1abdd8ff.jpg%3Ft%3D1343335636&hash=ea9ccacac731af17efaac17fd7f4004b2bbf242a)[/spoiler]
I just have one question how does burst work? I mean does it work with all gun or just with semi automatic guns?
Thanks again guys you are :#1:
-
people usually use burst for semi auto pistols and rifles which burst fire is usually a 3 round burst unless you change the sps actually works quite well on some games where the gun has a nasty recoil sometimes when using rf at a high sps the semi auto rifle pistol goes a bit crazy which at times found it hard to control
-
nice, glad you got it working. lol you havnt been a pain, i didnt mind helping you out
-
Been away for a while.. came back and found this jewel..
Just curious how you guys installed it..? This stuffis all greek to me..
I read what Modded Mat wrote in reply# 8.
Is there a parts list? and how do you wire it to a matrix2? I only see CG2 installation..
Or.. am i following the FLeX install.. Still though.. is there a parts list?
-
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi587.photobucket.com%2Falbums%2Fss313%2FSilvaaa_%2FHAZERS_FINAL_RF.png&hash=659caca1b542e4be039216274439c66397eef650)
I drew this up in paint when I was installing mine
This is for CG controllers, the only thing that will change with matrix controllers is where you get power from, the rest of it is the same.
-
thats pretty cool thanks.. though.. i purchased this from him a while back when he sold the kits.. looking at the board it seems like theres more to it than just one capacitor.
-
there are no capacitors, I just checked my diagram above, its missing the resistors on pin 4 to rx, it seems to work without them but its probably best you put them in.
-
sorry i meant resistor. i have an original board from when hazer was selling em. when i get a chance ill open the troller and take a flick.
Edit: this is it here..
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi46.tinypic.com%2F15f2169.jpg&hash=4baf3bc6dd36dfb4b260950bc7e08ddf4e791404)
Im wondering if the code i have on my cip is older than the code released here. Also if the code on my chip is older, could i upgrade the code by connectng some wires to the PCB and then to my pic programmer...
-
Hi guys just wondering if anyone has this compilied and in hex format (for a cg controller) because phantomz link requires a password and im gonna be doing this at work so cant compile it on works computers and i have a macbook :) also could anyone tell me the pinouts on the jack the actual jack that goes inside the controller thanks!
-
Hi guys just wondering if anyone has this compilied and in hex format (for a cg controller) because phantomz link requires a password and im gonna be doing this at work so cant compile it on works computers and i have a macbook :) also could anyone tell me the pinouts on the jack the actual jack that goes inside the controller thanks!
Its color coded.. here you go...
http://ge.tt/2ErOjOR/v/0?c (http://ge.tt/2ErOjOR/v/0?c)
HEX
http://ge.tt/9atQuOR?c (http://ge.tt/9atQuOR?c)
-
im using a different programming jack with five pins its from farnell!
-
im using a different programming jack with five pins its from farnell!
My guess would be to find the RX, TX, and ground pins and solder those according to the diagram.
-
thanks for the help dopesum! its one of these mate
http://uk.farnell.com/pro-signal/psg01538/socket-3-5mm-jack-pcb-stereo/dp/1280746 (http://uk.farnell.com/pro-signal/psg01538/socket-3-5mm-jack-pcb-stereo/dp/1280746)
:tup:
-
hi dopesum i tried programming the pics today with your hex and it programmed but gave me a checksum error fail after it had programmed is this normal with this code ?
-
Famas look at the datasheet of your stereo jack, it will tell you which is rx/tx. if it doesnt, just test it and swap the wires if it dosnt work. I removed the password on that mediafire link so you can try that HEX
@dopesun the code on the chip you have will be the same as this one
-
ok GUYS finally it works :) it wasnt onboard programming because the rs322 port wasnt picking up the pic like hyper described so i got a usb-serial converter and wala it works great one issue im having is the actual rapid fire acting strange basically when i have the left trigger disabled on the program and onboard program the device my left trigger will not work at all then when i put rapid fire on the left trigger the trigger doesnt rapid fire but works normally i havent used the resistor for the leds is this my problem :(? is anyone else having this issue im using blackops II
-
Mine has that same issue with the left trigger. When you disable left trigger rapidfire in the app, it disables it completley. but it easy enough to just put rapid fire on a high/low speed and it works normally, I cant remember if it has to be a high or low speed.
-
ah so this is a known issue cool stuff ! i disconnected the left trigger as it was a pain in the a** ;) still one of the best codes EVER released one issue is the cod 5 patch killer isnt an option on the rapid fire config :(