Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by elpaso

  1. If it's compatible with MSP430 or Stellaris LPs, and if shipped to Italy I'll get one!
  2. Wonderful, it's also possible to use the debugger from within eclipse...
  3. It works! The people on this forum is great! Thank you all! So far: I've compiled and loaded the example in MSP-EXP430FR5969/Software/430BOOST-SHARP96_GrlibDisplay This is what I've changed: touch grlib/assert.h echo "#define assert(x)" > grlib/assert.h then I had to rewrite an asm function, the __reverse did not work (help needed) but the first works: cat LcdDriver/Sharp96x96utils.h /* --COPYRIGHT--,BSD * Copyright (c) 2013, Texas Instruments Incorporated * All rights reserved. [.....] * --/COPYRIGHT--*/ //***************************************************
  4. Thanks! I'm not an expert in Makefiles so I've probably done a lot of mistakes (I've posted a link to the makefile I'm using in a previous message: http://forum.43oh.com/topic/5011-wolverine-launchpad/page-2#entry44970 ). I'm only using free (as in speech) software so if I can't use mspgcc I feel I have no other options. Please let me know if yout tests are successfull. Here is the memory map, if anybody can read this http://dpaste.com/hold/1662533/
  5. Yes, I took the example from an introductory pdf (slap133.pdf): #include <msp430.h> int main(void) { WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog Timer. This line of code is needed at the beginning of most MSP430 projects //This turns off the watchdog timer, which can reset the device after a certain period of time // Configure GPIO P1DIR |= 0x01; // P1DIR is a register that configures the direction (DIR) or a port pin as an output or an input // To set a specific pin as output or input, we write a '1' or '0' on the appropriate bit of the register.
  6. Thanks, I will not loose my time on it then. BTW a simple blink.c was built and uploaded without a glitch.
  7. Just a quick update: I've upgraded the binaries to latest energia release 0101E0011, same output. I've tested the compiler with blink.c and it works just fine. Here is the makefile: https://gist.github.com/elpaso/9227591
  8. Hi, I'm using energia build of msp430gcc (it was working fine with all LP until F5529), here are some infos: # output of "locate" ~/energia-0101E0010/hardware/tools/msp430/msp430/include/msp430fr5969.h ~/energia-0101E0010/hardware/tools/msp430/msp430/lib/ldscripts/msp430fr5969/periph.x ~/energia-0101E0010/hardware/tools/msp430/msp430/lib/ldscripts/msp430fr5969/memory.x ~/energia-0101E0010/hardware/tools/msp430/bin/msp430-gcc --version msp430-gcc (MSPGCC 20120406 (With patches: sf3540953 sf3559978)) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
  9. Hi, Just got mine today. I've downloaded slac645.zip that contains driverlib and examples. I'm trying to compile the GrlibDisplay example with gcc, I've patched a few things but there are still error: ~/energia-0101E0010/hardware/tools/msp430/bin/msp430-gcc -mmcu=msp430fr5969 -g -Os -Wall -Wunused -I ~/energia-0101E0010/hardware/tools/msp430/msp430/include/ -I ~/Texas_Instruments/MSP-EXP430FR5969/Software/430BOOST-SHARP96_GrlibDisplay/grlib/ -I ~/Texas_Instruments/MSP-EXP430FR5969/Software/430BOOST-SHARP96_GrlibDisplay/driverlib/MSP430FR5xx_6xx/ -MMD -MP -MF .dep/main.c.dep -o ma
  10. @@simpleavr you're a genius! I really like the minimalistic approach, this is pure art. Thanks for this nice project.
  11. elpaso

    Christmas PCB

    Yes, please post some images, I'm a Kicad user, I've installed Eagle and tried to open your attachments but I'm on Ubuntu 12.04 and it probably ships with an older version of Eagle and I couldn't open your files. An hi-res picture of the assembled board would also help, my idea was to let my 10 years old son to assemble the board by himself, but he needd good instructions for that.
  12. elpaso

    Christmas PCB

    Hi, I've received the kit, does anybody knows where I can find build instructions, schematics and code for msp430-gcc ?
  13. Forget it, I've found the msp430 libs in the standard kicad distribution.
  14. Hi, I'm using kicad for my designs, I've found a kicad library on http://processors.wiki.ti.com/index.php/MCU_KiCad_Library but it doesn't seem to contain the standard DIP 14pin packages, does anybody know where to find a kicad library for MSP430G2211 and friends?
  15. Thanks! This explains why my site was so slow yesterday ;-) BTW, In the meantime I've also added a short Hello World tutorial: http://www.itopen.it/2013/11/29/openchronos-hello-world-tutorial/
  16. Thanks for the wishes and for the clarifications, I've already started with "ng", I like the modules system, it makes it really easy to add a new module.
  17. Ok, I did start and wrote a few notes for those who are willing to start hacking this watch under Linux: http://www.itopen.it/2013/11/28/the-hackable-watch-a-wearable-msp430-mcu/ Comments, corrections and suggestions are always welcome!
  18. Hi, I've got the new chronos for my birthday, nice present Now I would like to start hacking it by compiling a custom firmware, I use gcc and Linux and proprietary software is not an option for me. I've downloaded and successfully compiled openchronos and openchronos-ng but I'm completely confused about which of the two is the most up-to-date and the preferred starting point. Apparently, the ng fork is more recent, but somewhere in Google group I've read that it has just a fraction of the features that are in (original) openchronos, it doesn't seem to me: make config shows m
  19. Well, no, sorry, I mixed up things, I was thinking about misllis(), I meant that with current millis implementation, the millis stop counting in LPM, I would also like to have a millis() which still counts (from the chrystal) when in LPM. So, to summarize, I would like to see a LPM-delay and a LPM millis, I tend to use millis for debounching push buttons, if I go to sleep in the loop and attach an interrupt to a pin, currently I cannot use millis to debounce because it stops counting when sleeping. I would implement an RTC with an interrupt, but I usually get an external DS1388 to have
  20. Hi, I like a lot the idea of having LPM available into Energia, from a beginner's point of view, what I miss the most is a LPM-aware delay() function, based on 32KHz chrystal, if available, this allows for RTC implementations.
  21. @@M-atthias I'm testing the "mouse" from hours, without XTAL and it seems quite stable, even touching or breathing don't break the connection. Anyway, I added a reset button for the chip and when I press it I can observe a couple of errorrs, the same errors I've occasionally seen when connecting the device: Oct 29 16:22:22 darkstar kernel: [118006.528071] usb 6-1: reset low-speed USB device number 89 using uhci_hcd Oct 29 16:22:22 darkstar kernel: [118006.796159] usb 6-1: device descriptor read/64, error -71 Oct 29 16:22:22 darkstar kernel: [118007.168122] usb 6-1: device descriptor
  22. @@simpleavr I'm not an ASCII artist , please check if it's ok: /* Schematics Note: decoupling CAP and LDO are not shown // VCC (3.3V) // | // +------+ MSP430G2452/ // _ _ MSP430G2553 // |1| |4| --------------- // |K| |K| | XIN|--+ // |5| |7| | | [ ] 32.768KHz XTAL (optional) // - - | XOUT|--+ // | | | | __o__ // | +---|RST P2.0|--o o---o LEFT \ //
  23. @@simpleavr thanks to your advice, the mouse example is now working with and without chrystal, I've forked an made a pull request. Is there any possibility to periodically adjust the clock with the USB frame instead of doing it only at startup? This could maybe solve the problems with raising temperature and clock drift. I seldom observed rare disconnect events , is there any possiblity to handle these events from the device and try to reconnect?
  24. @@simpleavr Thank you very much indeed ! I've cloned your project and built the program but unfortunately it doesn't work. I've also tested the prebuilt hex but it also fails with the same errors: Oct 28 17:59:27 darkstar kernel: [37432.240327] usb 6-1: new low-speed USB device number 48 using uhci_hcd Oct 28 17:59:28 darkstar kernel: [37432.364139] usb 6-1: device descriptor read/64, error -71 Oct 28 17:59:28 darkstar kernel: [37432.588139] usb 6-1: device descriptor read/64, error -71 Oct 28 17:59:28 darkstar kernel: [37432.804332] usb 6-1: new low-speed USB device number 49 us
  • Create New...