Search found 219 matches
- 16 Jun 2016 06:19
- Forum: mikroC PRO for ARM General
- Topic: Some troubles with magneto click on STM32
- Replies: 3
- Views: 5392
Re: Some troubles with magneto click on STM32
SPI needs to be setup to sample on the second edge, not first. Magneto is VERY sensitive to the setup of the SPI bus. Library has all the initialization routines built-in. Using that might be a better starting point to determine what commands needs to be sent. If you look at the datasheet, you'll se...
- 04 Jan 2016 13:02
- Forum: mikroC PRO for ARM General
- Topic: STM32F4 DMA problem, Memory-to-memory transfer doesn't work!
- Replies: 7
- Views: 10866
Re: STM32F4 DMA problem, Memory-to-memory transfer doesn't w
Code: Select all
DMA2_LIFCR |= ( 1 << CTCIF0 ); // Clears the corresponding TCIFx flag
_flag = 1;
- 31 Oct 2014 03:45
- Forum: mikroC PRO for AVR General
- Topic: AVR Prog Hooks
- Replies: 1
- Views: 1844
AVR Prog Hooks
I have my students writing a GUI programmer to mimic the AVRProg on Linux machines. Command line is working fine but miss the "click to program". Just wondering if there was any hooks or outputs we could get from the tools section other than those listed? ex . %ADM_FILE_NAME but maybe a %FUSES or so...
- 24 Apr 2014 21:45
- Forum: mikroC PRO for AVR General
- Topic: Linux Compatibility a YES
- Replies: 2
- Views: 2545
Re: Linux Compatibility a YES
For those of you wishing to use Linux as a development platform, there are some things you need to be aware of: Package manager works in Linux for PIC and ARM compilers but not AVR.... Weird. So how I got around this was to install a Windows 7 virtual machine. There I installed the AVR MikroC IDE an...
- 16 Mar 2014 22:49
- Forum: mikroC PRO for AVR General
- Topic: Linux Compatibility a YES
- Replies: 2
- Views: 2545
Linux Compatibility a YES
Using WINE and your favorite distro of Linux, MikroC for AVR runs great. Unbelievably, it is much faster on Linux than on Windows as an added bonus. You will have to change the editor font once installed. Negatives: You will have to find another way to program the board as the AVRFlash does not work...
- 16 Mar 2014 22:42
- Forum: mikroC PRO for AVR General
- Topic: finished with error- but not shown errors
- Replies: 11
- Views: 5474
Re: finished with error- but not shown errors
I get this error often as well, however, my fix was to turn off "Generate COFF File" in the output options. It seems this is where most if not all of those errors are coming from.
- 13 Feb 2014 06:12
- Forum: mikroC PRO for ARM General
- Topic: no typedef struct ?
- Replies: 3
- Views: 2121
Re: no typedef struct ?
No problem exists with your original struct definition..... except.... You can't have a memory specifier in the struct definition. You have your first member declared as "const". In MikroC, that is stored in program memory space. Separate from memory regions that the rest of your members are stored.
- 25 Jan 2014 08:01
- Forum: Development Boards
- Topic: Crystal Change on AVRPLC16
- Replies: 1
- Views: 1410
Crystal Change on AVRPLC16
Looking at the way the osc crystal is mounted to the ARVPLC16 looks like it might be hard to change. How would I go about removing and replacing that?
Looks to be surface mounted?
Looks to be surface mounted?
- 29 Dec 2013 11:47
- Forum: Development Boards Wishlist
- Topic: Little PLC with ARM
- Replies: 15
- Views: 9555
Re: Little PLC with ARM
Love anything that could be DIN rail mounted. A small board that accepted a MINI M3 would be great. Then enclosure could be 3D printed for prototyping purposes.
- 29 Dec 2013 11:43
- Forum: Development Boards Wishlist
- Topic: Mini 5V flavors + AVR Pin compatible
- Replies: 0
- Views: 2368
Mini 5V flavors + AVR Pin compatible
I love the Mini ARM boards but for them to truly be useful for some of my replacement applications it would be great if they were 5V compatible. PIC is nice and all, but I would like a mini stm32 in a AVR pin configuration as well. Tons of projects out there with AVR ATMegas that need some more umph...
- 29 Dec 2013 11:36
- Forum: Development Boards Wishlist
- Topic: Workbench - Enclosure for development boards
- Replies: 3
- Views: 3443
Workbench - Enclosure for development boards
A little out of the realm here, but I would love a briefcase that could mount a development board in it. Some space for click boards, a small power supply, etc..... Basically a portable workbench. A nice addon would be something like this: http://www.gabotronics.com/development-boards/xmega-xminilab...
- 29 Dec 2013 11:29
- Forum: Development Boards Wishlist
- Topic: CMOS Camera board
- Replies: 5
- Views: 4181
Re: CMOS Camera board
Count me in on one as well. Lots of cool stuff to be used with the new M4 cores.
- 25 Dec 2013 12:07
- Forum: Product Announcements
- Topic: mikromedia 5 for Tiva released!
- Replies: 30
- Views: 62402
Re: mikromedia 5 for Tiva released!
Great work, beautiful product, and amazing features.... However, I am hesitant because I just dumped a half dozen "Stellaris" boards onto the used market. Is TI going to stick with an mcu and support it long term or can I expect the Tiva brand to be re-branded and dropped next year? Sorry for the sa...
- 18 Dec 2013 08:40
- Forum: mikroC PRO for AVR General
- Topic: Standard User Crash in MU Environment
- Replies: 1
- Views: 1824
Standard User Crash in MU Environment
I've got multiple licenses of the AVR MikroC compiler and installing in a lab environment. Each of the students accounts are "standard users" with no admin privileges on a XP machine. Admin has no issues but all users, when they execute the IDE, it crashes just after the splash screen. Some type of ...
- 16 Dec 2013 02:21
- Forum: mikroC PRO for AVR General
- Topic: Macro Definition - Invalid operator
- Replies: 1
- Views: 1646
Re: Macro Definition - Invalid operator
Sorry, I figured it out. typedef struct { #ifdef __MIKROC_PRO_FOR_AVR__ volatile unsigned short* BASE_ADDRESS; volatile unsigned short* BASE_DIR; #endif #ifdef __MIKROC_PRO_FOR_ARM__ volatile long* BASE_ADDRESS; #endif uint8_t pin; uint8_t slave_count; } ow_bus_t; BASE_ADDRESS is a pointer. So the -...