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: CanadaPosts: 268 |
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: CanadaPosts: 268 |
Works fine now on W 8.1 FW b12. Bo |
||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 185 |
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: PolandPosts: 21 |
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 ZealandPosts: 9081 |
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: CanadaPosts: 268 |
@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 ZealandPosts: 9081 |
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: AustraliaPosts: 935 |
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 ZealandPosts: 9081 |
Acknowledged. Smoke makes things work. When the smoke gets out, it stops! |
||||
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255 |
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. For crying out loud, all I wanted to do was flash this blasted LED. |
||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 185 |
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: CanadaPosts: 1085 |
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
spits out '8448' - just under 8 and half seconds to run. I'll compare to a Maximite tonight.Print Timer For i = 1 To 1000000 Next Print Timer Visit Vegipete's *Mite Library for cool programs. |
||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 185 |
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 KingdomPosts: 2794 |
@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: AustraliaPosts: 185 |
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: CanadaPosts: 268 |
Anyone knows where I2C pins are? Anyone tested DS3231 RTC on ARMite? |
||||
Bizzie Senior Member Joined: 06/07/2014 Location: AustraliaPosts: 185 |
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.7K Rob White |
||||
boss Senior Member Joined: 19/08/2011 Location: CanadaPosts: 268 |
@Bizzie Thak you very much. I'll test it tomorrow morning. Bo |
||||
boss Senior Member Joined: 19/08/2011 Location: CanadaPosts: 268 |
No it is not. Got RTC not responding message |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8604 |
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 |
||||
Page 2 of 3 |
Print this page |