Jump to content
43oh

rampadc

Members
  • Content Count

    141
  • Joined

  • Last visited

  • Days Won

    2

rampadc last won the day on June 22 2014

rampadc had the most liked content!

About rampadc

  • Rank
    Level 1

Contact Methods

  • Website URL
    http://flashandrc.wordpress.com/

Profile Information

  • Gender
    Not Telling
  • Location
    Australia

Recent Profile Visitors

1,295 profile views
  1. I spoke too soon. Lab 2c solved the problem.
  2. Hey guys, I'm doing Lab 2b in the MotorWare package with the Launchpad F2807 and BoosterPack 8301 with a Hobbyking 12V, max 60A motor at the moment and the program keeps stopping at EST_State_Ls (already passed through 2 other stages) which I then get soon after: C28xx: Error: (Error -1135 @ 0x3F27A5) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.14.5) C28xx: Unable to determine target status after 20 attempts C28xx: Failed to remove the debug state from the target before disconne
  3. rampadc

    ISR Trap

    Problem is duct-tape fixed, I triggered a software power-on-reset in a group of unused interrupts.
  4. rampadc

    ISR Trap

    I'm running into a nasty problem and can't crawl my way out of it. While, I am fairly certain I have included interrupt service routines for all of the interrupts that I am using, the microcontroller still gets trapped under some mysterious interrupt: The trap triggers randomly, sometimes after a few minutes of running, sometimes several hours afterwards. I'm using CC430F5137 chip and below my isr.c handling the interrupts. #include <stdint.h> #include <stdio.h> #include <msp430.h> #include <cc430x513x.h> #include "RF1A.h" #include "hal.h" #include "buffers.h"
  5. Pretty sad I'd suppose. I'm gonna go with jazz's suggestion with upping the UART baud rate and see how that fares. EDIT: Hey @@jazz, what do you mean by mailbox?
  6. The boards are Olimex's MSP430-CCRF (CC430F5137) and I'm using MSP430F5529LP as programmers and debuggers. I have to use CCS and I'm really hopping to not having to resort to using 2 workspaces, not sure if that would work but really wishing that it wouldn't come to that.
  7. There was a question posted in the forums with this question about 2 years ago but the given answer didn't answer the question so I'm gonna post it again. Is there a way to make CCS debug 2 boards at the same time or have another tool that will debug 2 boards at a time? I'm doing a RF system and I'd like to look at the expressions at breakpoints (Refresh mode) for both boards while they're RX-ing and TX-ing. UART with printf is rather useless as it introduces time delay and can cause the RX side to miss out packets.
  8. I wrote some code for ring buffers and I thought of testing it with a MingW with Eclipse on the PC first so I can make sure all functions are working correctly before loading it onto the MCU. Plus, compiling and debugging are faster on the PC compared to loading it onto MSP430. Except I'm getting all these warnings complaining about integer overflows (comparing 8-bit definitions and assigning values to uint8_t) and integer casting pointer problems that I don't get in CCS. These warnings doesn't seem to be serious but when I compiled and run the program, the return values of the functions a
  9. Hey guys, anyone uses CC430? I need some help with a using CC430's Clear Channel Assessment feature, particularly with these 2 questions I posted on TI's e2e forums: https://e2e.ti.com/support/wireless_connectivity/f/156/t/438635 https://e2e.ti.com/support/wireless_connectivity/f/156/t/438666 Basically I only get the CCA interrupt signal asserted once and after that, it always fail. A reset lets the CCA signal asserts again. I've been wrecking my brain for the last week and couldn't come up with a solution. An answer here or the TI forum would be great. Thank you. EDIT: Problem res
  10. Found a misbehaving while loop in phy_transmit(). Thanks for the help guys.
  11. Hi, I'm getting a weird problem with a button interrupt while using the RF1A module on a CC430F5137 chip, where the code inside the main loop only works 1 time and never again even though the ISR is being executing and flag (buttonPressed) are being set correctly. I can't find what's wrong and can't proceed to fix the problem. Main.c extern uint8_t buttonPressed; uint8_t main(void) { WDTCTL = (uint16_t)(WDTPW | WDTHOLD); /* Stop watch dog timer */ __disable_interrupt(); //ACLK = REFO 32768 Hz //MCLK = SMCLK = 12 MHz //UART 38400 hal_init430(); hal_initTimers(); //2Hz timer for
  12. Try swapping TX and RX so that your 430's TX - USB's RX.
  13. If you have existing structures (struct {}), then IAR would detect them. Other than that, its code completion or assistant is non-existent.
  14. How about a physical spring-switch like the ones used on fridges doors? If the switch is closed, gate is closed. For the occasional meddling neighbour kids, maybe have 2 switches just to be sure. These would solve both problems. I'm thinking of 'gates' along the line of garage doors and alike. I'm not sure what's meant by gate opener so this may not be the answer you're looking for.
×
×
  • Create New...