cmagagna / ArduinoCC3000

Arduino library for the TI CC3000 WiFi module
65 stars 11 forks source link

Porting the TI PatchProgrammer? #1

Open vicatcu opened 11 years ago

vicatcu commented 11 years ago

Hi Chris,

I was wondering if you've made any strides toward porting the Patch Programmer to update the CC3000 firmware yet? I gave it a shot last night and it seemed to go through all the motions, but when all was said and done I could no longer read the firmware version out of the device... I posted to the TI forums here: http://e2e.ti.com/support/low_power_rf/f/851/t/288321.aspx.

Cheers, Vic

P. S. If you prefer a different communication mechanism than Git-Hub issues, please let me know!

cmagagna commented 11 years ago

Hi Vic,

I have not made much progress yet, like you all my attempts so far have resulted in bricked modules. Thank you very much for the TI forum link, I just checked it out briefly and it does look promising. I will be back in touch soon.

Chris

cmagagna commented 11 years ago

Hi Vic,

I have good news to report, I have successfully patched a CC3000 with an Arduino Nano. I used the very latest patch, release 1.11.1 / firmware 1.24.

I had to directly edit both the Adafruit CC3000 library and the TI code to reduce code size to get it to fit into the 32K limit of the ATMega328, but I've tested it twice now and so far so good.

I'm going to clean up the code and make sure it works on a Teensy etc. then I'll post it to Github. If you'd like, I can send you the current code now.

Regards,

Chris

vicatcu commented 11 years ago

Hey Chris, super cool! I hadn't noticed that 1.11.1 came out, do you know if there's a way to subscribe to TI announcements about CC3000 release updates? Ya I'd be psyched to test your port on my board as well. Want to email me a zip at victor DOT aprea AT wickeddevice DOT com?

As a side note, I've never quite understood what Service Pack Version (e.g. 1.24) refers to as the host driver package that you can download from TI (http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads#Patch_Programmer) still shows "#define DRIVER_VERSION_NUMBER 13" in host_driver_version.h.