Jump to content
43oh

voodoofish

Members
  • Content Count

    45
  • Joined

  • Last visited

  • Days Won

    4

Reputation Activity

  1. Like
    voodoofish reacted to none in Recover the MPS430 Launchpad from failed firmware update   
    When the Launchpad was quite new, TI published an Launchpad update program that would make it work with new (at the time) microcontrollers.
    But sometimes, the update failed, leaving me and others with a useless launchpad.
     
    http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update (BEWARE!)
     
    This has been discussed here (43oh.com) and elsewhere http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/97931/346074.aspx#346074
    and someone in that thread was kind enough to backup his/her Launchpad's firmware:
    http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Discussions-Components-Files/166/3060.LP100901938.zip
     
    Today I stumbled across my defunct launchpad and looked into MSP430 parallel port JTAG adapters (it seems, only the level conversion is required) and others (Versaloon may be portable to STM32_F4_Discovery), bit banging with FT2xxx, etc., but ended up looking for the effort required using the integrated serial bootloader (BSL):
    http://www.mike-stirling.com/2013/06/turn-a-ti-launchpad-into-a-goodfet-with-just-a-serial-cable/
     
    This is really quite simple (you'll have to decide if your time is worth it, if you haven't thrown it away already..): the process only requires a 3.3 V serial interface, soldering of 5 wires, pushing a few buttons..
    Since he's actually replacing the F1612's firmware with another one, I'll just qoute the BSL info for posterity:
  2. Like
    voodoofish got a reaction from ROFLhoff in Multi-battery Voltmeter   
    Nice setup. Did you use the pins for the 32Khz crystal for anything or have any plans to? Had you considered a 5v switching regulator for the display(I had similar issues with the display not showing up very well on lower voltages). I think the transistor idea for the LCD panel enable/disable would be useful. If you don't use the pins for the crystal, you could also use those pins for for button actions(start/stop) or other things.
  3. Like
    voodoofish reacted to RobG in Nokia 5110 with 2231/2452 - need help getting it working.   
    I wonder if this has something to do with MSP rather than 5110, but I cannot get to errata sheet right now.
     
    EDIT: could this be it?
    USI5 SPI master generates one additional clock after module reset
    Description  Initalizing the USI in SPI MASTER mode with the USICKPH bit set generates one additional clock pulse than defined by the value in the USICNTx bits on the SCLK pin during the first data transfer after module reset. For example, if the USICNTx bits hold the value eight, nine clock pulses are generated on the SCLK pin for the first transfer only.
    Workaround  Load USICNTx with a count of N-1 bits (where N is the required number of bits) for the first transfer only. 
     
     You do send 1 bit before the actual transfer (USICNT = 1) and that should correct USI5
  4. Like
    voodoofish reacted to RobG in Nokia 5110 with 2231/2452 - need help getting it working.   
    Try this one.
    Note jumpers on my board (P1.6 is DN, P1.7 is D/C)
     

     
    Nokia 5110.zip
  5. Like
    voodoofish got a reaction from roadrunner84 in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  6. Like
    voodoofish got a reaction from dacoffey in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  7. Like
    voodoofish reacted to xpg in Mailbox Notifier   
    Code is now available at github: https://github.com/xpgdk/rfm-mail-notifier
  8. Like
    voodoofish reacted to xpg in Mailbox Notifier   
    Hi,
     
    I have to say that I was about to give up on the RFM12B's before I found the MSP430 Jeenode code.
    I was simply not able to get the modules working. Once I had the Jeenode code, things went fairly quick.
    The protocol I am using is fairly naive and simplistic (on top of the Jeenode sutff): 1-byte packet type, and 1-byte payload .
     
    Once I got things working, I did run into a couple of things:
    First, The module only has a 8-bit receiver FIFO. So once the module signals that there is data, it must be read straight away.
    Second, for the module in the mailbox I needed good battery time. As the module does not receive anything, it was fairly easy to get done (but still took a couple of hours to figure out). In the case where data should be received as well, there is a way to improve battery life, but I haven't tried it yet. Unfortunately, the reference manual for the modules is not the best out there, meaning that a lot of trial and error is needed.
     
    I'll get the code ready for public eyes soon. Currently it's a bit scattered across my computer :oops: .
  9. Like
    voodoofish got a reaction from oPossum in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  10. Like
    voodoofish reacted to bluehash in Data Logger board   
    good stuff.
  11. Like
    voodoofish got a reaction from bluehash in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  12. Like
    voodoofish got a reaction from CorB in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  13. Like
    voodoofish got a reaction from Rickta59 in Data Logger board   
    Thanks BH!
     
    As promised, the code....though it's far from finished, it does work...mostly.... :/ I know a lot can be done better and don't even bother giving me grief on the blinky code....it's an embarrassment, but hey, I know it's bad and I'll fix it!!!! :shh:
    Don't be too harsh...it's work in progress, I'll be updating it more tomorrow and possibly tonight.
     
    DataRecorder2353Test_v.02.zip
    Edit 1: updated code to V.02. This has a lot of fixes improvements and tweaks. Improved blink code, added INT handlers for several areas, added test code that works.
    This has test code in the case area which all pretty much should work if you wanted to try it out with a similar mem chip setup. One area that I'll be working on next is the reading of the mem chip. It works, but there are some issues I need to iron out.
  14. Like
    voodoofish got a reaction from Rickta59 in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  15. Like
    voodoofish got a reaction from gordon in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  16. Like
    voodoofish got a reaction from RobG in Data Logger board   
    This is the first graph of data pulled from the data logger. This was a simple test, but verified saving and retrieving of data from the chip and some other test functions that I have been working on. This test used the WDT interval timer and took roughly an hour to run to collect 4096 samples. The variances in temp were due to the time and the amount of sun hitting the logger(2 rapid increases in temp). I think it's time to populate another board as I know the setup works and would allow me to start running longer tests while working on code.

  17. Like
    voodoofish got a reaction from bluehash in Data Logger board   
    Thanks BH!
     
    As promised, the code....though it's far from finished, it does work...mostly.... :/ I know a lot can be done better and don't even bother giving me grief on the blinky code....it's an embarrassment, but hey, I know it's bad and I'll fix it!!!! :shh:
    Don't be too harsh...it's work in progress, I'll be updating it more tomorrow and possibly tonight.
     
    DataRecorder2353Test_v.02.zip
    Edit 1: updated code to V.02. This has a lot of fixes improvements and tweaks. Improved blink code, added INT handlers for several areas, added test code that works.
    This has test code in the case area which all pretty much should work if you wanted to try it out with a similar mem chip setup. One area that I'll be working on next is the reading of the mem chip. It works, but there are some issues I need to iron out.
  18. Like
    voodoofish reacted to bluehash in Data Logger board   
    man. that looks pretty
  19. Like
    voodoofish got a reaction from timotet in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  20. Like
    voodoofish got a reaction from gordon in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  21. Like
    voodoofish got a reaction from krzyk2 in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  22. Like
    voodoofish got a reaction from RobG in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  23. Like
    voodoofish got a reaction from bluehash in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  24. Like
    voodoofish got a reaction from Rickta59 in Data Logger board   
    I received the datalogger board today and after multiple hw tests to verify that board functioned as expected, I completed the first of 3 test boards. The last test is to verify that the memory chip is recording correctly, and until then I can't say that this board is 100% functional. though the current 80% has me pretty excited. Now I'm waiting for the addon board that is breaks out the datalogging pins plus a couple other pins to a usable 3 pin configuration.
     
    Images included in this set have the button 1 switch which allows for it to be a reset or action button, and the male header pins. The other image shows the board pre switch and header mockup and also conected to the lp which allows me to do the uploading of programs. Very happy so far. Tonight and tomorrow I'll work on getting the memory chip tested as well as doing some initial tests on the data input ports(adc channels)and communications port(hw uart).
     

  25. Like
    voodoofish got a reaction from shluzzzoid in Data Logger board   
    Data Logger module.
    Renamed from data recorder since it just didn't sound correct.
     
    I worked on this over the weekend as I was looking to create something simple for a(the main)project I've been working on. I was thinking it would be something similar in features(though a little more) to the uLogger that SF sells in that it stores readings to a mem chip and was small. I could see this being useful for some projects.
     
    I was hoping to get a once over(feedback) on it to see if anything overtly wrong could be spotted. As far as I can tell, everything looks good and it should work as expected(HA! right...never happens.)
    This is pretty tightly packed as well...so....maybe too packed? Let me know what ya think!
     
    uProc 2X53 (current version using a G2353)
    Features:
    pinout for programming
    pinout for external parts
    header with uart and acd/CA channels broken out. (additional pluggable module is going to be in the works next to utilize the header.)
    external memory chip with 1mbit storage(other options available)
    3 status LEDs
    3.3v vreg onboard.
    jumper to set reset/alt button.
     
    The only thing I don't have broken out atm are the xtal pins....though I planned on having at least one broken out.
     
     

×
×
  • Create New...