HID-USB not works with STM32F103C8

General discussion on mikroPascal PRO for ARM.
Post Reply
Author
Message
Pelikan
Posts: 219
Joined: 22 Nov 2012 07:58

HID-USB not works with STM32F103C8

#1 Post by Pelikan » 03 Dec 2014 08:11

Hello,

the same program for USB HID with
STM32F407: Program Size approx 18200Bytes and work
STM32F103: Program Size approx 10200Bytes and does NOT work.

What is missing from the STM32F103... can not be determined due to lack of source.

With Greeting
Peter

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: HID-USB not works with STM32F103C8

#2 Post by darko.minic » 03 Dec 2014 16:45

Hello Peter,

Did you try example from our compiler? Because example is written for STM32F107VC, and can't work on STM32F103C8.

Regards,
Darko

LJStefan
Posts: 90
Joined: 17 Feb 2006 16:47
Location: Austria

Re: HID-USB not works with STM32F103C8

#3 Post by LJStefan » 03 Dec 2014 22:51

Hello,

First of all, thank you ME for the new compiler version and the new supported uc's.

I have the same problem some months ago with no more answers from mikroe..
http://www.mikroe.com/forum/viewtopic.php?f=189&t=59638

I have not tried this with the new Version at the moment but i think with your Topic the problem is still present.

Best regards,
Stefan

Pelikan
Posts: 219
Joined: 22 Nov 2012 07:58

Re: HID-USB not works with STM32F103C8

#4 Post by Pelikan » 04 Dec 2014 07:36

Hello,

I am stunned ... it is nowhere written the examples work only for certain MCs.
Of a company have the money for a program wants, I expect that the examples with the specified MCs work!

Regards,
Peter

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: HID-USB not works with STM32F103C8

#5 Post by darko.minic » 04 Dec 2014 09:11

Hello Pelikan,

I apologize, I probably didn't express myself well in my previous answer.
Example is written for STM32F107VC, but it if you want to use it with some other MCU/Hardware you need to adjust whole example with help of proper documentation(MCU datasheet).

Please can you explain me a little bit more about problem which you have? Do you have some error messages in compiler?

Regards,
Darko

Pelikan
Posts: 219
Joined: 22 Nov 2012 07:58

Re: HID-USB not works with STM32F103C8

#6 Post by Pelikan » 08 Dec 2014 12:13

Hello,
no error message or warning.
Operational finished, patient dead.
No program source, no further info.

Regards,
Peter

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: HID-USB not works with STM32F103C8

#7 Post by darko.minic » 09 Dec 2014 15:21

Hello,

Example is written and tested only for STM32F107VC, and unfortunately I don't have the same MCU/Hardware which you use,
so I am not able to test this example in exact same condition.

Compiler will not report an error message if you use registers and functions which is supported for that MCU (STM32F103C8).
You should definitely check if there should be some changes in the code, so you can use example with your MCU
using reference manual of that MCU.

Regards,
Darko

Pelikan
Posts: 219
Joined: 22 Nov 2012 07:58

Re: HID-USB not works with STM32F103C8

#8 Post by Pelikan » 09 Dec 2014 15:58

Hi Darko,

you had already written that the demo for a STM32F107 is.
This is a Cortex M3 and the STM32F103 is also a Cortex M3. The only somewhat less memory. USB is present.

Should I sponsor a STM32F103 for 5 € you on ebay?
Please see after my email address and the company on the Internet.
I get the source for USB-HID with NDA?

With Greeting
Peter

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: HID-USB not works with STM32F103C8

#9 Post by darko.minic » 10 Dec 2014 16:33

Hello,

We support compilers with multiple architectures, also we support a huge number of MCUs in our compilers,
so we are unable to provide and test examples for each MCU.
Also examples which we provide is written for hardware that we have in offer.

We will do our best to test this as soon as possible with the STM32F103C8.

Thank you for understanding.

Regards,
Darko

Post Reply

Return to “mikroPascal PRO for ARM General”