Search found 35 matches

by JohnD
13 Sep 2016 10:50
Forum: mikroC PRO for ARM General
Topic: USBHost Example not working for STM32F407
Replies: 9
Views: 9728

Re: USBHost Example not working for STM32F407

Hi Lana, I used an USB 2.0 stick of 2 GB formatted with FAT32. Put only 1 file on it "Test1.Txt". The attached file contains the used test project. After showing the directory it tries to write data to the file "Test1.Txt" and is in an endless loop. Because the file is allready present on the stick ...
by JohnD
08 Sep 2016 13:41
Forum: mikroC PRO for ARM General
Topic: USBHost Example not working for STM32F407
Replies: 9
Views: 9728

Re: USBHost Example not working for STM32F407

Hello, I used the example from dejan and it works but only with the old display. But when I try to use the new display it only shows the directoy and stops, so no detection of inserting or removing of the USB stick. The only changes I made in DisplayInit are: New Display : TFT_Init_ILI9341_8bit(320,...
by JohnD
06 Sep 2016 10:26
Forum: mikroC PRO for ARM General
Topic: USBHost Example not working for STM32F407
Replies: 9
Views: 9728

USBHost Example not working for STM32F407

I tried to change the Host_MSC example of the USB_Host and FAT32 package for the STM32F107 to use it with the STM32F407. Directory : ...\Mikroelektronika\mikroC PRO for ARM\Packages\USB_Host_ARM\Examples\ST\Host MSC The installed packages: FAT32 : 1466582317_fat32_library_mikroc_arm.mpkg USB : 13873...
by JohnD
29 Jun 2016 13:26
Forum: mikroC PRO for ARM General
Topic: Compiler Issue V4.9.0
Replies: 1
Views: 5273

Compiler Issue V4.9.0

I switched from V4.5.0 to V4.9.0. In some parts the generated code is different and faulty. A section of the assembler code with V4.5.0 looks like this: L_Action_CANParamValueExt331: ;Action.c,1414 :: _pActionRegister->Action.ARDelta.DeltaValue.Reference = rtPB; ADDS R0, R4, #4 ADDS R1, R0, #4 MOVS ...
by JohnD
28 Jun 2016 16:16
Forum: Product Announcements
Topic: Announcing our new wearable development kit for IoT!
Replies: 11
Views: 72860

Re: Announcing our new wearable development kit for IoT!

I switched from V4.5.0 to V4.9.0. In some parts the generated code is different and faulty. A section of the assembler code with V4.5.0 looks like this: L_Action_CANParamValueExt331: ;Action.c,1414 :: _pActionRegister->Action.ARDelta.DeltaValue.Reference = rtPB; ADDS R0, R4, #4 ADDS R1, R0, #4 MOVS ...
by JohnD
28 Nov 2013 10:56
Forum: mikroC PRO for ARM Wish List
Topic: Variables
Replies: 1
Views: 2565

Variables

I would like a compiler directive to select if the variables get cleared (default) or not after a reset.

See also the topic:
http://www.mikroe.com/forum/viewtopic.php?f=178&t=56761

Regards,
JohnD.
by JohnD
18 Nov 2013 11:07
Forum: mikroC PRO for ARM General
Topic: Debugger - How to find a variable ?
Replies: 5
Views: 2664

Re: Debugger - How to find a variable ?

I have the same. To find a variable I do the following: I use the search for variable list box of the debugger to select/find the variables. Global Variable : start with a _ (underscore) and then the variable name : _GlobalVariableName Local Variable : start with the function name, then _ (underscor...
by JohnD
16 Oct 2013 09:41
Forum: mikroC PRO for ARM General
Topic: Variables
Replies: 9
Views: 4547

Re: Variables

Hi Filip, I am already using non-volatile memory to store variables but it would be useful to have some variables in SRAM because of its speed. The variables I am using to store information get changed very often (sometimes 1000..10000 per second), using I2C or SPI external memory (EEPROM, FRAM, ......
by JohnD
15 Oct 2013 08:14
Forum: mikroC PRO for ARM General
Topic: Variables
Replies: 9
Views: 4547

Re: Variables

Thanks Borris.

Hopefully I get some response from mE if it is possible or not.
by JohnD
14 Oct 2013 16:35
Forum: mikroC PRO for ARM General
Topic: Variables
Replies: 9
Views: 4547

Re: Variables

I will try to explane it.

After a reset I want to check what caused the reset and see if I can use the global variables without initializing them, so the program can startup a lot quicker.

I can only use this if the variables are not initialised after a reset.
by JohnD
14 Oct 2013 08:15
Forum: mikroC PRO for ARM General
Topic: Variables
Replies: 9
Views: 4547

Re: Variables

Is it possible to select the range of global variables which are initialized to 0.
Are there internal registers or memory locations (not cleared after a reset) which I can use.
by JohnD
11 Oct 2013 11:00
Forum: mikroC PRO for ARM General
Topic: Variables
Replies: 9
Views: 4547

Variables

Hello All,

I noticed that "global" variables are 0 after a Reset and not random !
If this is correct, is it possible to select which variables to leave unchanged and others be cleared (set to 0) ?

Using V4.0.0 compiler.

Regards,
JohnD
by JohnD
24 May 2013 10:52
Forum: mikroC PRO for ARM General
Topic: Live update 3.3.5. for mikroC PRO for ARM
Replies: 8
Views: 3867

Re: Live update 3.3.5. for mikroC PRO for ARM

Found the problem.

Without the proxyserver I could update without problems.

reagards,
JohnD
by JohnD
24 May 2013 09:15
Forum: mikroC PRO for ARM General
Topic: Live update 3.3.5. for mikroC PRO for ARM
Replies: 8
Views: 3867

Re: Live update 3.3.5. for mikroC PRO for ARM

Tried to updated from V3.3.2 to V3.3.5 with live update, without success. When using live update I get the question : Update v3.3.5 is available, Whould you like to download it ? I select Yes. Then the message : Downloading update files, Closing program. The program closes. But after closing nothing...
by JohnD
17 May 2013 19:01
Forum: mikroC PRO for ARM General
Topic: microC v3.0.0 and Network Ethernet ARM
Replies: 27
Views: 18191

Re: microC v3.0.0 and Network Ethernet ARM

Hello, I am using microC v3.3.2 and the Net_Ethernet_Intern_STM32 (1357728419_network_ethernet_mikroc_arm.mpkg) library. For the test my network is only a PC, EasyMx Pro 7 board (STM32F407VG) and a Router. Even with the update of the compiler and library there is still something strange about the AR...

Go to advanced search