-
Content Count
1,135 -
Joined
-
Last visited
-
Days Won
71
Everything posted by Rickta59
-
... moved to its own topic
-
[EDIT: Fixed] Problems with the latest mspdebug from git
Rickta59 replied to Rickta59's topic in Energia - MSP
Quick like a bunny it is fixed. You can ignore this thread and thank Daniel Beer for fixing this! -rick -
[EDIT: Fixed] Problems with the latest mspdebug from git
Rickta59 replied to Rickta59's topic in Energia - MSP
Can we leave it here? It isn't an obvious bug to people using Energia unless you have verbose output for mspdebug turned on. It just fails and you can't really tell why. -rick -
[Edit!!! -- fixed already 06/26/2012 -- will leave for people who get this problem and might not have updated ] Just a note to all of you compiling mspdebug from git source on your own. I just updated my mspdebug and aftewards I couldn't program my msp430g2553 chip. It was getting a message: fet: FET returned error code 7 (Could not write device memory) mspdebug thought my chip was a msp430g2403. Looking in the log, I see that support for the msp430g2403 chip was added recently. I manually edited the file fet_db.c and removed that entry, recompiled and then I was able to progra
-
OK, it didn't look like you had ported GRBL to it. So basically you have a nice ARM based jog pendant : ) . I'm also interested in GRBL. The F4 board seems like it would be a great match and better replacement for the avr chip. I'm going to try getting GRBL going on the F0 board first though. I'm thinking that for $8 it would make an incredibly inexpensive device. The downside is that you still need a decent USB->Serial chip to interface with the computer. I have an FTDI serial breakout board I'll try at first. With the added ram, flash and pins I'm guessing it should be pretty ea
-
Looking closer at your phpbb forum I now realize that the avatars are just as big. However, when you are viewing user posts they are on the right hand side and my mind effectively blocked them out. Having them on the left puts them right in my face and I guess that is the first thing I'm drawn to instead of the text of the posting.
-
Thanks! .. Well I've switched to running this forum zoomed to 90% in chrome. This is the first forum I've done this with and makes it closer to what you have with the phpbb based 43oh forum. I guess I can live with that. Thanks for providing this place for ARM people to gather. That is really what is important. -rick
-
Taking a quick look they all seem to have fat avatars. Thanks for looking at least. I guess this one is OK.
-
Is it possible for me to have a custom theme? I like the functionality of this board. However, the theme feels way too big for me. I'd prefer smaller user avatars and trim that is more like pinstrips than guard rails. More content less trim please. (to paraphrase Oliver) Please sir, can I have less? -rick
-
So is the STM32 running GRBL or is it just sending signals down to an avr chip that is running GRBL? -rick
-
Useful tools for getting going with STM32 boards and linux
Rickta59 replied to Rickta59's topic in Other Microcontrollers
Thanks! That is the setup I ended up using. Openocd, CodeBench Lite Edition, the stm32f0 code template from github and Eclipse for editing and building. There are great instructions and links on how to get going here: https://github.com/s...-basic-template Once I got all those projects built and running, I created a new Makefile project in eclipse and imported the code and makefile from the template. I edit and build in eclipse. However, I haven't spent the time trying to get gdb working from within Eclipse. I use the makefile to flash the STM32-F0 board then start gdb by hand. This -
: ) I found a gist that works for this post. Are there any options to the [ gist ] tag besides the number? Can you limit the number of lines displayed or anything else? -rick
-
That works great. I tried it with one of my gist posts and it works great. However, I don't have any small ones, so I didn't clog up this post actually showing it here. The gist I tried had multiple files and it went ahead and included all the files. Nice work. Thanks! I'm sure I'm not the only one who will find this useful. -rick
-
I poked around trying to find an extension or documentation that would allow us to embed github gist files into the posts. This would be a nice thing. Here is a link that shows how github in wordpress was done. Kind of nice as it creates a custom [gist] tag [gist]http://gist.github.com/546764[/gist] More info here: http://wordpress.org...ed-github-gist/ Do you know if something like this exists for IP.B ? -rick
-
I wanted to be able to verify my system clock was configured properly. I found this feature very useful on the msp430 chips. Turns out that the STM32 Cortex M0 chips also support this. Attached is some code that allows you to output your SYSCLK on pin PA.8 for easy verification of your various clock sources. /** * Cortex M0 - STM32F0 Discovery board code spew out one of the clocks on PA.8 */ void OutputMCO() { GPIO_InitTypeDef GPIO_InitStructure; RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA, ENABLE); /* Output clock on MCO pin ---------------------------------------------*/ GPIO_Ini
-
You can create a new C project then select the Project type of "Cross-Compiler" and then the tool command prefix and path. I'm using this for feature for both my stm32 projects and my msp430-gcc projects. Another way to use it is to create a Makefile project with existing code and use the template recently discussed on hack-a-day. -rick
-
Nice stuff! That code is a great example of how to best use the built-in features of the msp430. Attached is a picture taken remotely by my Canon EOS Rebel XT (AKA 350D) of the launchpad and the IR LED. You can see my finger in the picture pushing the reset button. The IR-LED comes from a dollar store remote. I just chewed it off the pcb with pliers and soldered on some jumper wires. * msp430g2231 * launchpad * 2n2222 transistor * IR LED from dollar store remote pcb * resistors 1k base, 100ohm between 5V and collector * cap 100uF * 5 volt power stolen from usb Thanks! -ric
-
You might be interested in the discussion I started a while back about faster GPIO: http://www.43oh.com/forum/viewtopic.php?f=5&t=2141 To be honest, I never really finished that approach as the topic didn't seem to garner much external interest. I had thought about adding this to Energia, however for the general case it is probably better for Energia to have the same comparable speed as the Arduino digitalRead/Write functions. This gives existing code a better chance of working as the time taken by the functions will be similar. However, for a new project you might take an opti
-
I'm surprised you were able to toggle the pins that fast with direct register manipulation. That code would be interesting to see. The best code I've seen for toggling in a loop takes 10-12 cycles so that works out to be 16MHz/10 .. so more like 1.6MHz if you are lucky and no interrupts are running. With Energia in addition to the digitalRead/Write being slow, there may be Timer and Watchdog ISR handlers running in the background stealing other cycles. -rick
-
Can you use Hardware SPI? -rick
-
I haven't looked but I'm guessing access to gpio, i2c, spi, and 1 wire are probably all loadable modules. I started with linux when you downloaded 19 floppy disks. The only way to add devices was to recompile the kernel. When my computer only had 32Mb of memory getting rid of the extra fluff was essential. However, todays fast computers and the modular kernel make most of that unneccessary. I think what you want to do is to be able to rebuild the cdc-acm.c module. I think others have already offered patches to deal with the buffer overflow problem, although at the moment I can't put my
-
That seems to also work on Linux after I installed the Consolas font. It did look even better when I turned on antialias editor.antialias=true -rick
-
I got one of those free STM32 F0 Discovery boards and I've been using the texane/stlink project to program and debug my discovery boards. Check it out here: https://github.com/texane/stlink I saw that Mike S from hackaday.com added support to enable the F0 board but right now it only allows you to upload and debug code loaded to ram. He is working on getting flash programming to work with the new F0 board watch hack-a-day for updates. Until that is ready, you can use openocd to be able to program the flash. Are there other debug tools that work with the stlink v2 that we should know
-
It is possible http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/171154.aspx -rick
-
Any plans to add any of the STM32 discovery boards?