Open ddesai84 opened 10 years ago
Hi,
When you bring up the Serial Monitor in the Arduino IDE there is an option to change Line Endings. Be sure it’s set to “newline” for my code to work.
Thanks for pointing this out. I will revise the code for the next release to test for more than just newlines.
Regards,
Chris
From: ddesai84 [mailto:notifications@github.com] Sent: Monday, December 23, 2013 1:14 AM To: cmagagna/CC3000Patch Subject: [CC3000Patch] Commands are not being responded (#3)
Hello Chris,
Great work!
I am able to get my Arduino Uno to work with CC3000EM. However, I am trying to update the firmware using "CC3000Patch" and I am running into an issue.
After uploading the sketch and opening the serial monitor with 115200 baud rate, I get the display menu. Once I enter the command - 0 (as an example) and press enter (or send) - there was no response as if the command was ignored.
Note: CC3000 and Arduino are both tested as it works with Adafruit's library.
I am suspecting that it has something to do with the code between DisplayMenu() and CommandProcessor(buffer). Any guidance will be appreciated.
— Reply to this email directly or view it on GitHub https://github.com/cmagagna/CC3000Patch/issues/3 .
Chris,
That worked! Thank you very much for your prompt response.
Question - do I need optiboot's latest version on my Uno to successfully update the firmware on CC3000? I am using the default bootloader on my Uno and I wanted to confirm that before proceeding with this update. Let me know, if I can just use the default bootloader shipped on my Uno in order to proceed with this. I truly appreciate your guidance!
Hi,
You should be able to use the bootloader you have with your Uno, I think the earlier problems are only related to older Arduinos (e.g. Duemilanove). If you have any problems please let me know.
Regards,
Chris
From: ddesai84 [mailto:notifications@github.com] Sent: Monday, December 23, 2013 11:38 AM To: cmagagna/CC3000Patch Cc: Chris Magagna Subject: Re: [CC3000Patch] Commands are not being responded (#3)
Chris,
That worked! Thank you very much for your prompt response.
Question - do I need optiboot's latest version on my Uno to successfully update the firmware on CC3000? I am using the default bootloader on my Uno and I wanted to confirm that before proceeding with this update. Let me know, if I can just use the default bootloader shipped on my Uno in order to proceed with this. I truly appreciate your guidance!
— Reply to this email directly or view it on GitHub https://github.com/cmagagna/CC3000Patch/issues/3#issuecomment-31139361 .
Hey Chris,
So, I gave it a shot but I ran into issues.
I was able to perform 4Y and 6Y without issues. However, I got stuck while I sent "7Y" command to copy mac address and radio file from Arduino EEPROM to CC3000. It got stuck on Starting CC3000 with no patches. Restarting Arduino and sending "0" command doesn't initialize the module now as I think the command to delete the firmware was sent and it the firmware was never re-stored.
Have it hit the "destruct" button here? Is there anyway to recover? I truly appreciate all your help!
hey Chris,
thanks a lot for uploading the CC3000 patch, it is the best alternative update my cc3000 firmware. However, I tried to compile, but the problem that i found most common is that "board.h is no such or directory". Do you perhaps has the library for the board itself?
Thank you in advance!
Stella
Hi Stella,
'board.h' is part of the original TI code and not in my stuff. Are you using the original TI code?
They use this file to define the hardware constants etc. for their different hardware, e.g. what pins are used for SPI on their MSP430 vs their TivaC etc. Each platform will have its own board.h file.
If you want to see an example of one of their files you can download the source code to one of their samples at
Good luck!
Chris
On Feb 5, 2014, at 3:21 AM, stellalaksono notifications@github.com wrote:
hey Chris,
thanks a lot for uploading the CC3000 patch, it is the best alternative update my cc3000 firmware. However, I tried to compile, but the problem that i found most common is that "board.h is no such or directory". Do you perhaps has the library for the board itself?
Thank you in advance!
Stella
— Reply to this email directly or view it on GitHub.
Hey, Chris! I got the board original library. and now it works fine without any error message regarding the board library existence. thanks to you! :D
Now the error message after i verified it, which is: C:\Users\Stella|Documents\Arduino\libraries\libfirm\board.cpp:259: error:expected constructor, destructor, or type conversion before 'void'
which is that line is relating to TImer A) interrupt service routine here is the code: void unsolicicted_events_timer_disable(void) { TA1CCTL0 &= ~CCIE; TA1CTL |= MC_0; }
// Timer A0 interrupt service routine
interrupt void TIMER1_A0_ISR(void)
{
bic_SR_register_on_exit(LPM3_bits);
__no_operation(); // For debugger
}
Now, i lost again what i need to improve from this, since it doesn't look like any syntax error...Especially, the board.h itself contains the original code from texas instruments. Do you know maybe what i need to improve?
Thank you before! :)
Stella
Hi,
Try deleting any sub folders in the CC3000 patch folder. Only have that folder and the INO, CPP, C and H files, nothing else. Load the INO file into the Arduino IDE and try to compile that.
Chris
On Feb 7, 2014, at 3:56 AM, stellalaksono notifications@github.com wrote:
Hey, Chris! I got the board original library. and now it works fine without any error message regarding the board library existence. thanks to you! :D
Now the error message after i verified it, which is: C:\Users\Stella|Documents\Arduino\libraries\libfirm\board.cpp:259: error:expected constructor, destructor, or type conversion before 'void'
which is that line is relating to TImer A) interrupt service routine here is the code: void unsolicicted_events_timer_disable(void) { TA1CCTL0 &= ~CCIE; TA1CTL |= MC_0; }
// Timer A0 interrupt service routine
pragma vector=TIMER1_A0_VECTOR
__interrupt void TIMER1_A0_ISR(void) {
__bic_SR_register_on_exit(LPM3_bits); __no_operation(); // For debugger }
Now, i lost again what i need to improve from this, since it doesn't look like any syntax error...Especially, the board.h itself contains the original code from texas instruments. Do you know maybe what i need to improve?
Thank you before! :)
Stella
— Reply to this email directly or view it on GitHub.
Hey, Chris!
Thanks for the suggestion, although it does not solve the problem. I am suspecting that it because I used msp430g2553 patch programmer instead of msp430fr5739 and msp430f5529. I only had msp430g2553 launchpad board. will your library workable too with msp430g2553, or it is highly required only with msp430fr5739 and msp430f5529? Otherwise, how could i do to improve my cc3000 firmware using only arduino uno and msp430g2553 launchpad?
Sorry that I am bugging you with noobs questions:(
Stella
Well my code will only work with Arduino, I haven't worked much with the MSP430 boards. I think your best bet would be to try the TI CC3000 Wiki (http://processors.wiki.ti.com/index.php/CC3000) and forum (http://e2e.ti.com/support/low_power_rf/f/851.aspx).
Good luck!
On Feb 13, 2014, at 2:38 AM, stellalaksono notifications@github.com wrote:
Hey, Chris!
Thanks for the suggestion, although it does not solve the problem. I am suspecting that it because I used msp430g2553 patch programmer instead of msp430fr5739 and msp430f5529. I only had msp430g2553 launchpad board. will your library workable too with msp430g2553, or it is highly required only with msp430fr5739 and msp430f5529? Otherwise, how could i do to improve my cc3000 firmware using only arduino uno and msp430g2553 launchpad?
Sorry that I am bugging you with noobs questions:(
Stella
— Reply to this email directly or view it on GitHub.
Hi, Chris Please help me! I want to make project with DFPlayer Mini and speaker. But i can't upload my code. I have been reset and unplug usb cable. Iam using Arduino Uno. After i reset and unplug the usb cable i can upload it. But there is no sound. Thi is the error code:
"avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00"
Are you know the problem? Quick i need it now!
Hello Chris,
Great work!
I am able to get my Arduino Uno to work with CC3000EM. However, I am trying to update the firmware using "CC3000Patch" and I am running into an issue.
After uploading the sketch and opening the serial monitor with 115200 baud rate, I get the display menu. Once I enter the command - 0 (as an example) and press enter (or send) - there was no response as if the command was ignored.
Note: CC3000 and Arduino are both tested as it works with Adafruit's library.
I am suspecting that it has something to do with the code between DisplayMenu() and CommandProcessor(buffer). Any guidance will be appreciated.