Search found 728 matches

Go to advanced search

by victor_pv
Tue Jan 17, 2017 5:32 pm
Forum: STLink
Topic: Some pins not usable when using ST-Link ?
Replies: 33
Views: 968

Re: Some pins not usable when using ST-Link ?

Perhaps I should change this back to the way it was. Roger, I would be grateful. On the other hand, when using STlink, enabling SWD should be done with the parameter "AFIO_DEBUG_SW_ONLY", and not with "AFIO_DEBUG_FULL_SWJ", since only SWD connector is used, not full JTAG. This w...
by victor_pv
Sun Jan 15, 2017 5:44 pm
Forum: Libary request
Topic: SWO TRACE for STM32F103C debugging
Replies: 2
Views: 330

Re: SWO TRACE for STM32F103C debugging

I use blue pill STM32F103C8T6 and ST-LINK V2. I need to do debugging through STM32F103C SWO-TRACE pin (PB3). There is a library for mbed online at https://developer.mbed.org/users/wim/code/SWO/ Can anyone help me to convert that library from mbed environment to Arduino sketch? Thanks. Please see th...
by victor_pv
Sun Jan 15, 2017 4:44 pm
Forum: Code snipplets
Topic: Very lean Serial.printf()
Replies: 19
Views: 1655

Re: Very lean Serial.printf()

Slammer, I just used your printf function in a small SWO library, I hope you don't mind, I gave you credit ;) Now, about printf in the print class, I understand Ray's point, that adding 1KB of code here, 1 there, eventually adds up to a good amount, and people may not need it, but I thought if a ske...
by victor_pv
Sun Jan 15, 2017 4:29 pm
Forum: Generic STM32F103
Topic: Changing Timer1 frequency will effect UART ?
Replies: 6
Views: 87

Re: Changing Timer1 frequency will effect UART ?

As the pin out shown in the following post http://www.stm32duino.com/viewtopic.php?t=1501#p19477 The PA9 and PA10, has TIM1_CH2 and TIM1_CH3 attached, so I thought Timer1 is being used with UART ? Most of the ports have several possible functions, so that port can be configured as PA9 OR as UART pi...
by victor_pv
Sun Jan 15, 2017 7:25 am
Forum: Generic STM32F103
Topic: Changing Timer1 frequency will effect UART ?
Replies: 6
Views: 87

Re: Changing Timer1 frequency will effect UART ?

I have to modify the frequency of timer1, but the same timer is being used for UART(PA9, PA10). So if I change the frequency, will it effect the UART somehow ? I may be wrong, but I dont think Timer1 is related in any way to the USART. To confirm I just had a quick check at the reference manual and...
by victor_pv
Sun Jan 15, 2017 3:05 am
Forum: Maple mini
Topic: USBserial don't works - what's wrong?
Replies: 29
Views: 335

Re: USBserial don't works - what's wrong?

Could be a bug in the compiler too yes it can - but not in ARM approved assemblies which every day compiles megabytes of code. Do you mean that because ARM approved it would not have bugs? I have to disagree. I.E. This bug, which affects a bunch of different versions, and seems like it wasn't corre...
by victor_pv
Sun Jan 15, 2017 2:57 am
Forum: General discussion
Topic: PrintF via SWO
Replies: 8
Views: 346

Re: PrintF via SWO

I usually program stm32 board with ST Link, but problem is, I cannot debug as its not connected through Serial. Now Im wondering if there is method that can send strings from MCU to PC through SWO, so I can use ST Link Utility and its "PrintF via SWO" ? I decided to write today a short sw...
by victor_pv
Sat Jan 14, 2017 3:54 am
Forum: Libary request
Topic: Flashstorage made for Duo
Replies: 9
Views: 121

Re: Flashstorage made for Duo

RogerClark wrote:AFIK
EEPROM is just a name given by the Arduino team, for code to allow you to write to the program Flash.

In reality there is only Flash on most MCUs


Roger the AVR MCUs have an actual small eeprom inside to store data. The DUE EEPROM library is an emulation in program flash.
by victor_pv
Fri Jan 13, 2017 10:28 pm
Forum: Libary request
Topic: Flashstorage made for Duo
Replies: 9
Views: 121

Re: Flashstorage made for Duo

I had a look and that flash library is for "emulating" an eeprom by using a block of flash memory, since the DUE doesn't have internal eeprom like the AVR does. We already have a library for such, and I think there is some older thread commenting on it. Also there is an example of using it...
by victor_pv
Fri Jan 13, 2017 2:28 pm
Forum: Libraries & Hardware
Topic: Lib for ILI9486 - 3.5 inch 480x320 touch TFT for RPi
Replies: 125
Views: 1187

Re: Lib for ILI9486 - 3.5 inch 480x320 touch TFT for RPi

I am still thinking where should the SPI initialization take place: outside the ILI9486 driver, in setup phase, before or within the driver begin() function? To make sketches more easily portable between different displays with different driver libraries, I would keep it consistent with the commonl...

Go to advanced search