Show Posts
Pages: [1] 2 3
1  Development / Suggestions for the Arduino Project / [solved] Simulink support for Arduino Duemilanove on: October 01, 2012, 07:04:58 am
HI,

I tried building a code from simulink model and then downloading the code generated using simulink support package for the Arduino into the Duemilanove board.

I got the following errors:

/**1. The call to arduino_make_rtw_hook, during the after_make hook generated the following error:
Could not open file .\DECU_modified.hex. No such file or directory.

2. Could not open file .\DECU_modified.hex. No such file or directory.

The build process will terminate as a result.**/


The build process was succesful for the demo model that was given as example with the simulink support package.

Please help me if anyone is aware of this problem.


Thnq,
Chiru
2  International / India / Simulink support for Arduino Duemilanove on: October 01, 2012, 06:56:16 am
HI,

I tried building a code from simulink model and then downloading the code generated using simulink support package for the Arduino into the Duemilanove board.

I got the following errors:

/**1. The call to arduino_make_rtw_hook, during the after_make hook generated the following error:
Could not open file .\DECU_modified.hex. No such file or directory.

2. Could not open file .\DECU_modified.hex. No such file or directory.

The build process will terminate as a result.**/


The build process was succesful for the demo model that was given as example with the simulink support package.

Please help me if anyone is aware of this problem.


Thnq,
Chiru
3  Development / Other Software Development / Simulink support for Arduino Duemilanove on: September 25, 2012, 05:07:27 am
HI,

I tried building a code from simulink model and then downloading the code generated using simulink support package for the Arduino into the Duemilanove board.

I got the following errors:

/**1. The call to arduino_make_rtw_hook, during the after_make hook generated the following error:
Could not open file .\DECU_modified.hex. No such file or directory.

2. Could not open file .\DECU_modified.hex. No such file or directory.

The build process will terminate as a result.**/


The build process was succesful for the demo model that was given as example with the simulink support package.

Please help me if anyone is aware of this problem.


Thnq,
Chiru
4  Using Arduino / Microcontrollers / Re: Memory Allocation on: February 09, 2012, 12:14:44 am

 You limiting your thinking and learning with this seperate programs/sections and running them parallelly.



let us forget about sections. could u plz tell me if i could get things done parallelly in a single program? becoz the execution time is crucial for me

chiru
5  Using Arduino / Microcontrollers / Re: Memory Allocation on: February 08, 2012, 11:57:08 pm
that would be helpful. i shall try this way. thnq Lefty.
    Now one moe thing i should worry about is, is there any way that i cut run two sections parallelly?

Let me put it in  this way, section-1 would get the data from sensors and go after some mathematical calculations and repeat the same.
    section-2 would print the results obtained from section-1 on serial moniter and output some through the pins.

Its not an issue even if its not the current data. its ok even if it can communicate the past data through section-2
6  Using Arduino / Project Guidance / Re: Issue with Float/Double in Arduino on: February 08, 2012, 11:20:45 pm
 the default number after decimal for float/double in Arduino is 2
7  Using Arduino / Microcontrollers / Re: Memory Allocation on: February 08, 2012, 11:18:39 pm
can i try this way?, i shal define my two programs in different functions and can i terminate the program as and when i needed?( i would give a condition, if it reached, second function will execute else terminate the complete program).
8  Using Arduino / Project Guidance / Re: problem with runtime of sketch on: February 08, 2012, 04:27:04 am
Depends on what is in the Lines Of Code and how complex they are, and especially if there are any floating-point calculations.

A typical optimization of an algorithm is to scale values into integers and do the math there.

i dont think i can eliminte floating point caliculations. so the only way i could reduce the execution time is reducing LOC. is it so?
9  Using Arduino / Microcontrollers / Re: Memory Allocation on: February 08, 2012, 04:24:30 am
But bootloader is like unaccessble part of a program sitting and doing its work in the controller. Like-wise can i make my sketch into two parts so that part -1 runs first and then part-2
10  Using Arduino / Project Guidance / Re: Simulink Interfacing with Arduino Duemilanove on: February 08, 2012, 04:21:51 am
    i never tried generating a code from simulink model and downloading it to Arduino. i just wanted to clarify if this can be done with minimal overheads.
    i also wanted to know what i should take care before i try to generate code out of embedded coder.
11  Using Arduino / Project Guidance / Re: problem with runtime of sketch on: February 08, 2012, 04:19:01 am
apart from reducing the LOC, is there any other way to take the control over the execution speed of the sketch?
12  Using Arduino / Project Guidance / Re: Issue with Float/Double in Arduino on: February 08, 2012, 04:16:39 am
thnq folks....i could overcome this problem now.

thnq all
13  Using Arduino / Project Guidance / Re: problem with runtime of sketch on: February 08, 2012, 04:11:14 am
isnt there any way that i can make use of external oscillators?

My purpose of coding in loop() would be, sensing 3 analog inputs and some handful of calculations(say 20lines) of mathematical equations and sending the outputs through 5pins.

can someone tel me if all of these be done in 25milliseconds?
14  Using Arduino / Project Guidance / problem with runtime of sketch on: February 07, 2012, 06:47:21 am
hey folks,

i'm new to arduino world. is there any way that i could adjust the running time of my skecth in the arduino (Duemilanove)? before that i wanted to know the default execution time of a loop in arduino.

i wanted the run time of my sketch not exceeding 25milliseconds. How could i get this done?


help me..!


thnq,
chiru
15  Using Arduino / Project Guidance / Issue with Float/Double in Arduino on: January 31, 2012, 11:55:27 pm
hey folks,

i was not able to come out of the shock that in Arduino float/double supports only two digits after decimal.! even though it was mentioned 6-7digits of precision including the digits before and after the decimal. can someone help me to overcome this problem.

   i wanted to read a value if 0.009, 0.000008 etc...such kindof  values...

any help is appriciated..!

thnq,
chiru
Pages: [1] 2 3