Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:16 18 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : ARMmite b11, Selectable USB/UART Console

     Page 2 of 3    
Author Message
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 07:09am 11 Mar 2015
Copy link to clipboard 
Print this post

ST-link works like charm now on the same comp with virgin 8.1 installation.
Problems persist with virtual driver.





Bo
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 11:27am 11 Mar 2015
Copy link to clipboard 
Print this post

Works fine now on W 8.1 FW b12.

Bo
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 185
Posted: 11:57am 11 Mar 2015
Copy link to clipboard 
Print this post

Just tried B12 exactly same sysptoms:-

All looks OK but no message on TT (com5) see below




A couple observations:-

The erase seems to work now. Tried the boot0 to VDD link and then an erase.
A reset of the STM32 shows com5 being disconnected and reconnected.
A compare of the hex file and STM32 flash memory are identical.

The cable used seems OK - Used to connect my phone to my PC and reset shows the connection.


Rob White
 
dmasz
Newbie

Joined: 12/09/2013
Location: Poland
Posts: 21
Posted: 12:39pm 11 Mar 2015
Copy link to clipboard 
Print this post

hello hello :)

i managed to install STM VCP drivers on windows 8.1 64bit
and after installation i am able to connect from teraterm via microusb to ARMite (firmware b12).

my procedure:

1) install
VCP_V1.4.0_Setup.exe

2) then follow this tutorial.
install unsigned driver by switching off driver signature checking:
http://revryl.com/2013/08/06/install-unsigned-drivers/

3) time to run driver installation.
C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver\Win8\dpinst_amd64.exe

after this steps i was able to see in device manager
>STMicroelectronics Virtual COM Port as com3

4) restart discovery board by power cycling it.
and now connection is working fine

hope it will help to others


 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9081
Posted: 01:07pm 11 Mar 2015
Copy link to clipboard 
Print this post

I'd be interested to see the results of following dmasz's post above - I have had to jump through stupid loops to get CERTAIN things working in windoze 8, by making those changes so that you can install unsigned drivers. This seems to be a Windoze 8 issue, and not something that is a problem in earlier windoze 7.

It's a pain in the arse to do, and involves a couple of reboots just to enable installing unsigned drivers and to get back to the desktop proper again, but it did seem to work for me.

I suspect that the trouble started for Bizzie, when windoze did that update. The forced signed drivers thing must has been part of the update, thus - the mess you have now where anything unsigned is blocked by the OS.
Smoke makes things work. When the smoke gets out, it stops!
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 01:36pm 11 Mar 2015
Copy link to clipboard 
Print this post

@Grogster

Installation ST-link and ST virtual port with fresh installed W8.1 pro as admin works OOB. Well I spent almost 2 days with trying and testing. Fresh W 8.1 installation solved my problem.

Bo
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9081
Posted: 02:06pm 11 Mar 2015
Copy link to clipboard 
Print this post

I hear that.

Sometimes it can be quicker and easier to reinstall the OS, rather then playing about for too long trying to make something work.

I does depend on machine and circumstances though.

Not sure if a full reinstall of 8 is something Bizzie is prepared to do though.
Smoke makes things work. When the smoke gets out, it stops!
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 02:39pm 11 Mar 2015
Copy link to clipboard 
Print this post

Grogs
The unsigned drivers thing relates to 64 bit Windoze and can be easily circumvented. Just Google for it.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9081
Posted: 05:27pm 11 Mar 2015
Copy link to clipboard 
Print this post

Acknowledged.
Smoke makes things work. When the smoke gets out, it stops!
 
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 06:40pm 11 Mar 2015
Copy link to clipboard 
Print this post

Matherp: CTRL C now working. Running a few play type programs and all seems well except... very occasionally the serial goes a bit wonky.
It suddenly stops showing characters, then as you keep typing the older characters appear on each keystroke and is a bit stuttery.

e.g.
Typing: ABCDEFGHIJKLMNO
Displays: ABCD|Pause|EFGH

Only happens very occasionally and have to power on/off to fix it. Using mini USB serial connection.

Great work, you and Geoff.Edited by aargee 2015-03-13
For crying out loud, all I wanted to do was flash this blasted LED.
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 185
Posted: 10:55pm 11 Mar 2015
Copy link to clipboard 
Print this post

I have finally got the STM32 working over USB!

I followed dmasz's instructions but had to repeat the last step several times, not sure why.

I also used an account with admin privileges instead of giving the admin password, of course I do not know if this was essential or not.

I will now have a play with the beast.

Thanks you all for your input.


Rob White
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1085
Posted: 12:25pm 12 Mar 2015
Copy link to clipboard 
Print this post

This morning, I flashed one of my Discovery F4 boards at home without any real trouble. (Win7 machine already set up for STM32 dev work.)

Plugged the Discovery board into an XP machine at work and after a short driver search and some Teraterm foolishness (baudrate = 38400), I got MMBasic running.

The following:
Timer = 0
Print Timer
For i = 1 To 1000000
Next
Print Timer
spits out '8448' - just under 8 and half seconds to run. I'll compare to a Maximite tonight.
Visit Vegipete's *Mite Library for cool programs.
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 185
Posted: 03:06pm 12 Mar 2015
Copy link to clipboard 
Print this post

Not sure if this should be here or not.

I do not seem to be able to set the time on my ARMmite (12B)

Here is what I did (copy/paste from TT)

> ? time$
16:14:48
> time$="11:59:00"
Error: Expression syntax
> ? time$
16:16:35


Rob White
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 03:09pm 12 Mar 2015
Copy link to clipboard 
Print this post

@Bizzie

Copy/Paste in TT behaves strangely (you need to use ALT not Ctrl key).

What if you type in: Time$="11:59:00"

Do you still get strange behaviour??

WW
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 185
Posted: 03:19pm 12 Mar 2015
Copy link to clipboard 
Print this post

Sorry mislead you about the Copy/Paste that was only to get it to the forum.


All seems to work fine now!

> Time$="12:14:00"
> time$="12:14:00"
> ? time$
12:14:42

Not sure what finger trouble I had!

Rob White
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 12:13pm 13 Mar 2015
Copy link to clipboard 
Print this post

Anyone knows where I2C pins are? Anyone tested DS3231 RTC on ARMite?
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 185
Posted: 03:07pm 13 Mar 2015
Copy link to clipboard 
Print this post

According to the manual

I believe I2C is on pins PB6 - SCL and PB9 - SDA of the discovery board.
ie pin 92 (SCL) and 96 (SDA) of the Micro

This is gleaned from the circuit diagrams for the ecompass and the audio. What I can not locate is the pullup resistors.

Just found the pullups for the I2C 4.7KEdited by Bizzie 2015-03-15
Rob White
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 05:42pm 13 Mar 2015
Copy link to clipboard 
Print this post

@Bizzie

Thak you very much. I'll test it tomorrow morning.

Bo
 
boss

Senior Member

Joined: 19/08/2011
Location: Canada
Posts: 268
Posted: 06:44pm 13 Mar 2015
Copy link to clipboard 
Print this post

No it is not. Got RTC not responding message
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8604
Posted: 09:18pm 13 Mar 2015
Copy link to clipboard 
Print this post

I missed the I2C pins off the pinout (66 and 67) - revised version attached

PE2, DIGITAL_IN | DIGITAL_OUT | OC_OUT | COUNT // pin 1
PE3, DIGITAL_IN | DIGITAL_OUT | OC_OUT | COUNT // pin 2
PE4, DIGITAL_IN | DIGITAL_OUT | OC_OUT | COUNT // pin 3
PE5, DIGITAL_IN | DIGITAL_OUT | OC_OUT | IR // pin 4
PE6, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 5
// pin 6 - VBAT
PC13, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 7
PC14, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 8
PC15, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 9
// pin 10 - VSS
// pin 11 - VDD
// pin 12 - External Xtal
// pin 13 - External Xtal
// pin 14 - NRST
PC0, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 15
PC1, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 16
PC2, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 17
PC3, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 18
// pin 19 - VDD
// pin 20 - VSSA
// pin 21 - VREF+
// pin 22 - VDDA
PA0, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 23
PA1, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 24
PA2, Console TX // pin 25
//
PA3, Console RX // pin 26
// pin 27 - VSS
// pin 28 - VDD
PA4, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | DAC_1 // pin 29
PA5, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | DAC 2 // pin 30
PA6, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM2A // pin 31
PA7, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM2B // pin 32
PC4, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 33
PC5, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM2C // pin 34
PB0, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 35
PB1, ANALOG_IN | DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM2D // pin 36
PB2, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 37
PE7, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 38
PE8, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 39
PE9, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 40
PE10, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 41
PE11, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 42
PE12, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 43
PE13, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 44
PE14, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 45
PE15, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 46
PB10, DIGITAL_IN | DIGITAL_OUT | OC_OUT | comm1 TX // pin 47
PB11, DIGITAL_IN | DIGITAL_OUT | OC_OUT | comm1 RX // pin 48
// pin 49 - VCAP1
// pin 50 - VDD
//
PB12, DIGITAL_IN | DIGITAL_OUT | INTERRUPT | OC_OUT // pin 51
PB13, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI2CLK // pin 52
PB14, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI2IN // pin 53
PB15, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI2OUT // pin 54
PD8, DIGITAL_IN | DIGITAL_OUT | INTERRUPT | OC_OUT // pin 55
PD9, DIGITAL_IN | DIGITAL_OUT | INTERRUPT | OC_OUT // pin 56
PD10, DIGITAL_IN | DIGITAL_OUT | INTERRUPT | OC_OUT // pin 57
PD11, DIGITAL_IN | DIGITAL_OUT | INTERRUPT | OC_OUT // pin 58
PD12, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 59
PD13, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 60
PD14, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 61
PD15, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 62
PC6, DIGITAL_IN | DIGITAL_OUT | OC_OUT | comm2 TX // pin 63
PC7, DIGITAL_IN | DIGITAL_OUT | OC_OUT | comm2 RX // pin 64
PC8, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 65
PC9, DIGITAL_IN | DIGITAL_OUT | OC_OUT | I2CSDA // pin 66
PA8, DIGITAL_IN | DIGITAL_OUT | OC_OUT | I2CSCK // pin 67
// pin 68 - USB VBUS
// pin 69 - USB ID
// pin 70 - USB DATA-
// pin 71 - USB DATA+
PA13, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 72
// pin 73 - VCAP2
// pin 74 - VSS
// pin 75 - VDD
//
PA14, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 76
PA15, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 77
PC10, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 78
PC11, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 79
PC12, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 80
PD0, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 81
PD1, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 82
PD2, DIGITAL_IN | INTERRUPT | DIGITAL_OUT | OC_OUT // pin 83
PD3, DIGITAL_IN | INTERRUPT | DIGITAL_OUT | OC_OUT // pin 84
PD4, DIGITAL_IN | INTERRUPT | DIGITAL_OUT | OC_OUT // pin 85
PD5, DIGITAL_IN | INTERRUPT | DIGITAL_OUT | OC_OUT // pin 86
PD6, DIGITAL_IN | INTERRUPT | DIGITAL_OUT | OC_OUT // pin 87
PD7, DIGITAL_IN | DIGITAL_OUT | OC_OUT // pin 88
PB3, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI1CLK // pin 89
PB4, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI1IN // pin 90
PB5, DIGITAL_IN | DIGITAL_OUT | OC_OUT | SPI1OUT // pin 91
PB6, DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM1A // pin 92
PB7, DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM1B // pin 93
// pin 94 - BOOT0
PB8, DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM1C // pin 95
PB9, DIGITAL_IN | DIGITAL_OUT | OC_OUT | PWM1D // pin 96
PE0, DIGITAL_IN | DIGITAL_OUT | OC_OUT | WAKEUP // pin 97
PE1, DIGITAL_IN | DIGITAL_OUT | OC_OUT | COUNT // pin 98
// pin 99 - VSS
// pin 100 - VDD
Edited by matherp 2015-03-15
 
     Page 2 of 3    
Print this page
© JAQ Software 2024