Search found 121 matches

by ddrown
Wed Apr 12, 2017 8:36 pm
Forum: Projects
Topic: free logic analizer
Replies: 12
Views: 395

Re: free logic analizer

with stm32f1 it would seem it may even be able to monitor at spi speeds (i.e. mhz), could be interesting to test that I have a proof of concept based on CubeMX on the blue pill board that uses a timer to drive DMA from GPIOA at 6MHz. It speaks the SUMP protocol over the USB port. If I use hand-code...
by ddrown
Thu Mar 30, 2017 6:58 pm
Forum: Generic STM32F103
Topic: Hackaday post/video on STM32duino
Replies: 4
Views: 196

Hackaday post/video on STM32duino

https://hackaday.com/2017/03/30/the-2-3 ... debugging/

They're recommending the new HAL based core and even go into getting debugging working
by ddrown
Thu Mar 23, 2017 8:50 pm
Forum: Custom design boards
Topic: STM32F030 custom board
Replies: 22
Views: 1532

Re: STM32F030 custom board

These are actually nice OCXO's http://www.ebay.com/itm/NEW-10MHz-OCXO-DIP-Micro-Crystal-x1pc-5x10E-11-Oven-Oscillator-OCVCXO-GPSDO-/252308905189 DS http://www.microcrystal.com/images/_PDF/7_Oven-Controlled-Oscillator/OCXO.pdf Uses less than 80ma@20c , 300ma@startup (10 sec) , they're 5v supplied Th...
by ddrown
Sun Mar 19, 2017 3:39 pm
Forum: General discussion
Topic: trying to understand how the compiler works...
Replies: 3
Views: 110

Re: [SOLVED] trying to understand how the compiler works...

OK, I think that the compiler generates the following code from #define write8(i++): digitalWrite(PB0, (i&BIT0)?HIGH:LOW); i++; digitalWrite(PB1, (i&BIT1)?HIGH:LOW); i++; digitalWrite(PB2, (i&BIT2)?HIGH:LOW); i++; digitalWrite(PB3, (i&BIT3)?HIGH:LOW); i++; digitalWrite(PB4, (i&B...
by ddrown
Mon Mar 06, 2017 2:21 am
Forum: General discussion
Topic: Copying stm32 chip
Replies: 18
Views: 284

Re: Copying stm32 chip

I don't think it is protected. The esc can be upgraded with new firmware at any time. The thing is I have limited knowledge of this but whst I do know is the that the esc's board has 5 desitict areas where links have been made. I have back tracked and here are a list of pins on the stm32f051k6t6. R...
by ddrown
Sat Mar 04, 2017 5:25 pm
Forum: STLink
Topic: STM32 + Gotek floppy emulator
Replies: 29
Views: 519

Re: STM32 + Gotek floppy emulator

I am interested in this topic too. I've been thinking about how to securely store an encryption key on the mcu. Enabling read protection and disabling the debugging peripheral seems like good first steps.
by ddrown
Fri Feb 24, 2017 3:10 am
Forum: Custom design boards
Topic: STM32F030 custom board
Replies: 22
Views: 1532

Re: STM32F030 custom board

Update! I wrote two long things on my blog: https://blog.dan.drown.org/frequency-synchronization-without-phase-in-ntp/ + https://blog.dan.drown.org/temperature-compensation/ But some highlights: Test system: https://blog.dan.drown.org/content/images/2017/02/pi-test-system-1.jpg Frequency vs temperat...
by ddrown
Tue Feb 21, 2017 12:42 am
Forum: General discussion
Topic: PrintF via SWO
Replies: 20
Views: 879

Re: PrintF via SWO

victor_pv wrote:
ddrown wrote:
Also, what was the line above the toggleLED definition?


I'll test adding the while later. The lines above the BOARD_LED definition are the includes for the libraries, nothing else other than that


This would be down in the loop function, below the BOARD_LED definition
by ddrown
Mon Feb 20, 2017 9:26 pm
Forum: General discussion
Topic: PrintF via SWO
Replies: 20
Views: 879

Re: PrintF via SWO

#if (SWODEBUG > 0) SWO_Channel SWO; #define SWO_ErrLog(...) \ SWO.printf(__VA_ARGS__); \ SWO.printf("LINE: %d, FUNCTION: %s, FILE: %s \r\n", __LINE__, __FILE__, __FUNCTION__); #else /* Not DEBUG */ #define SWO_ErrLog(...) #endif You can see BOARD_LED_PIN is defined, well the error I get i...
by ddrown
Mon Feb 13, 2017 5:08 am
Forum: Custom design boards
Topic: STM32F030 custom board
Replies: 22
Views: 1532

Re: STM32F030 custom board

Thanks for posting BTW. Whats also interesting is that you used MacroFab to phsically make the board There demo seemed to make this cost effective for SMD prototypes (as I'm not very good at SMD and never managed to get my oven to work correctly ;-( ) Yeah, that price covered everything: board, par...

Go to advanced search