Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by rampadc

  1. Hey guys, I have a 2 keyboard matrix that I would like the user to be able to customize via a PC program through BSL maybe, without giving them my source code. Each matrix consumes a block of 128 8-bits numbers. Is there a way I can make sure the blocks of data stays exactly at a location in the program memory every time the firmware is flashed onto the MSP430F5502 (or MSP430F55xx)?
  2. Hey guys, I currently have a keyboard & trackpoint project that may incorporate Bluetooth HID in the future. I have no knowledge of Bluetooth technology whatsoever but my "client" much prefer using Bluetooth to USB. There are very few Bluetooth modules that supports HID out of the box that I can find from major retailers, so far, I've got RN-42-HID ($20), Bluesmirf ($44) from Sparkfun, Broadcom BCM20422 from $8 mini keyboards and a standalone BCM20730 module from DealExtreme for about $6.80. So Broadcom modules are cheaper with the inconvenience of no datasheet or getting started resou
  3. rampadc

    Mass erase

    Do I erase the chip using TI CCS or using some other software? As for the TI TXT, it's just flashing after the mass erase? Sent from my GT-i9100 using Tapatalk
  4. rampadc

    Mass erase

    Hey guys, how do you mass erase a chip to put it back to factory default - blank reset vectors, default USB BSL VID/PID, etc.? I have a few MSP430F5510 that I want to re-use from failed board that I think the problem may have something to do with my Olimex JTAG Tiny V2 debugger.
  5. It would be nice to have some templates to get started making boards quicker, like not having to worry about caps on vcc, GND lines. For USB boards, you can have a look at TI's "Starting a USB design using MSP430". They list all the required and recommended components for USB. Sent from my GT-I9100 using Tapatalk
  6. The reset line (PWR) is connected to a button using R7 as pull-up resistor. The TrackPoint connected to the MSP430 uses 5V, 7mA. I connect it straight to VBUS so it shouldn't pull any juice from the MSP430. The only thing the MSP430 driving are the 2 N-MOSFET's (BSS138) +3.3V line. Besides changing to using BSS138, I started putting in caps. So right now, the caps are desoldered to see if it's causing the problem. I didn't include them in that schematic because it's desoldered. Here's the full schematic. The 'round' VCC is 5V. Pointy VCC is always +3.3V.
  7. I can't measure the current for some reason, as soon as a resistor is connected in between or put the multimeter in the middle of the circuit directly, USB stops working for a few minutes - may have shorted something. So I used an external +3.3V supply (from an Arduino) and USB won't work still. Connecting VCC and GND from FET to PCB no longer solve the problem, it won't enumerate. The problem is still the same, USB won't enumerate for KB+Mouse unless board is connected to FET, and FET doesn't have to be connected to computer. I then load TI's HID Mouse example onto the board and the
  8. @chicong Pretty sure this is an English forum. Pin 1 on your SD card would be the CD pin in his setup. (Google Translate) http://elasticsheep.com/2010/01/reading-an-sd-card-with-an-atmega168/ Sent from my Nexus 7 using Tapatalk
  9. Blinking example works fine. I have never used BSL before so I'm not sure if it works with the PCB layout I'm using (like extra resistors, caps or buttons, etc.) It's maybe USB program source related. In a keyboard-only project, the USB is enumerated and the LED blinks (without connecting to debugger). In another keyboard and mouse project, same blinking code, USB will not enumerate and LED won't blink. Would that be a bug in TI's API? case ST_ENUM_ACTIVE: P4DIR |= BIT7 + BIT6 + BIT4; P4OUT &= ~BIT6; //GND P4OUT |= BIT7; //CLOCK = VCC while(1) { P4OUT ^= (BIT7 + BIT6 + BIT4);
  10. Hey Jazz, I'm using MSP430F5510, FET VCC level is +3.3V, board VCC is 5V (from USB, then MSP430 do the conversion in-chip). Connecting just the VCC and GND from FET to board without JTAG lines got the board working. What does it mean?
  11. Hey guys, what does it mean when a PCB stops working when it's removed from the debugger? GND's connect fine, voltages checks out. The debugger doesn't even have to be connected to the computer: as soon as I connect the PCB to the debugger, the device starts enumerating.
  12. Still not sure what the problem is but I moved the mouse reading + USB report to a 7ms timer interrupt block (about the time it takes for the PS/2 to communicate with the mouse via Remote Mode). And it just works, pretty well. I'm going to update the code vault.
  13. Any help? You can compile for the MSP430F5529 LP and there shouldn't be a problem.
  14. You can use n-MOSFET as voltage converter like this one: http://www.hobbytronics.co.uk/mosfet-voltage-level-converter. You can also use the 2N7002 if you want SMD, or BSS138 like Sparkfun does.
  15. Hi bluehash, no, I'm connecting a PS/2 mouse to the MSP430. It's up to the MSP430 to convert those PS/2 reports to USB reports. Sent from my GT-I9100 using Tapatalk
  16. Hi, I'm having a problem that the source may come from TI's USB HID API. Need USB experts. I'm trying to interface my TrackPoint (PS/2 mouse) with the MSP430F5510. Without calling USBHID_sendReport(), PS/2 communication between the MSP430 and the mouse works well. When called, the communication stops. The PS/2 code is posted in the code vault: http://forum.43oh.com/topic/5124-ps2-mouse-for-any-msp430/#entry45187. case ST_ENUM_ACTIVE: PS2_setMode(RESET_MODE); PS2_setMode(REMOTE_MODE); Trackpoint_setSensitivity(0xC0); while(1) { ps2Data = PS2_getData(); //ps2Data with type PS2DATA_t
  17. Strangely enough, there aren't a lot of PS/2 mouse codes available for MSP430. The following code allows you to communicate with your PS/2 mouse by remote mode and stream mode (require interrupts). TrackPoint is a mouse module used in ThinkPad keyboards. It uses the PS/2 protocol with some proprietary commands. Keyboards are pretty much the same as mouse, only their reports are simpler. PS2.h /* * PS2.h * * Created on: 14/11/2013 * Author: CONG (rampADC) */ #ifndef PS2_H_ #define PS2_H_ #include "msp430.h" #include "stdint.h" //4MHz XT2 #define delay_us(x) __delay_cycles(x
  18. rampadc


    Revision 5 of my ThinkPad T6x keyboard adapter First time ordered from Elecrow. The routing is probably pretty bad, it works so far. I probably need to downsize those vias.
  19. You can use a timer to count the number of times a button is released within a specified amount of time Sent from my Nexus 7 using Tapatalk
  20. For smart-prototyping, the quality is good enough for me. They handle 10 thou track just fine for components at 0.5mm pitch. Customer service wise, it usually takes a day before they reply via emails. I have only used their double sided board service. Sent from my Nexus 7 using Tapatalk
  21. Not a lot of people mentions it but smart-prototyping offers a lot of shipping options which can be cheaper than most other China PCB manufacturers Sent from my Nexus 7 using Tapatalk
  22. Is there a way to can reflash the firmware of a 5529LP? That is, not your program, but the program of the entire thing: CDC ports, etc. Recently, I have been using a logic analyzer for testing and switching between computers. Today, CCS asked me to update the firmware of the Launchpad, and I did. Now, the Launchpad will not power on without external ground input (plug a wire that is connected to the computer's GND into one of the GND pins), and it always say "General USB Hub" instead of "MSP Tools" or whatever it used to say.
  23. Not sure if you still need the help, but it's probably easier if you use UART instead. The 5529 LP has a UART COM port interface when plugged in with USB so you can use that to listen to, at baud rate up to 115200 (maximum I've used). You can use oPossum's printf function: http://forum.43oh.com/topic/1289-tiny-printf-c-version/. Attached is a class that allows you to use oPossum's function. All I did was adding appropriate registers that 5529 uses. You can also install RXTX terminal plugin for Eclipse if you want a more compact feel. http://processors.wiki.ti.com/index.php/How_to_inst
  24. EDIT: It was a hardware problem with the level shifter. All is well now. Can I revive this thread quickly and get help with my existing code? Same setup as above, I'm testing this with the F5529 Launchpad. Using Energia with Arduino's PS2 mouse library, it works perfectly so I wrote the code in C for using without Energia. In this case, I'm using XT2 at 4MHz and UART at 9600 baud (maximum the F5529LP can handle with debugging going on). main.c : http://pastebin.com/dFqB6sPp PS2.h : http://pastebin.com/7JphbyUX PS2.c : http://pastebin.com/WTAtLFch Most of the time, the code above
  • Create New...