STM32f746ZG 304- Argument out of range error

General discussion on mikroPascal PRO for ARM.
Post Reply
Author
Message
qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

STM32f746ZG 304- Argument out of range error

#1 Post by qwepoi » 05 Apr 2016 14:06

Hi ,
Is anyone of you have a issue compiling code for stm32f7 mcu ?
in my program I have something like this

Code: Select all

//in globals 
var 
command : string[20];


//inside subrutine
var
mybyte : char;
//........
// begin
command := command + mybyte ;
//....
//end;
when Im trying to compile it Im getting error 304 (argument out of range) . Issue in string library ?
Any solutions ?

Thank you

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

Re: STM32f746ZG 304- Argument out of range error

#2 Post by Pelikan » 06 Apr 2016 07:03

Hi,

command defined with 20 bytes
command + byte but needs 21 byte!

sorry, simple-minded error

review:
command := '';
command := command + MyChar ;


with regards
Peter

PS: in Defines for stm32f746 are many errors

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: STM32f746ZG 304- Argument out of range error

#3 Post by Aleksandar.Mitrovic » 06 Apr 2016 11:59

Hi,

@qwepoi
Can you please tell me which version of the mikroPascal PRO for ARM do you have?

@Peter
To which "many" errors do you refer? Can you please share with us some problems which you encounter so far with this microcontroller?

Best regards,
Aleksandar

qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

Re: STM32f746ZG 304- Argument out of range error

#4 Post by qwepoi » 06 Apr 2016 13:08

Aleksandar

version is 4.7.1 (the latest one )

cheers

PS. I have already send you a copy of my project .

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: STM32f746ZG 304- Argument out of range error

#5 Post by Aleksandar.Mitrovic » 07 Apr 2016 09:25

Hi,

Have you send it to our Help desk?

We will explore more this problem.

Best regards,
Aleksandar

qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

Re: STM32f746ZG 304- Argument out of range error

#6 Post by qwepoi » 07 Apr 2016 11:49

Aleksander,
I got an email from support asking for those files . This email was signed by you . I have responded to it with attached project files .
Thx

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: STM32f746ZG 304- Argument out of range error

#7 Post by Aleksandar.Mitrovic » 07 Apr 2016 15:21

Hi,

Can you please resend that email, since I didn't receive it?
Did you open a ticket on our Help desk maybe?

Best regards,
Aleksandar

qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

Re: STM32f746ZG 304- Argument out of range error

#8 Post by qwepoi » 07 Apr 2016 16:43

Aleksander ,
You received my code .... Here is a part of the email you have send me.

In this zip there are 3 projects.
Which one is making you the problems exactly?
1. MyProject
2. test
3. nettest

And what exactly is the problem in the code?

Best regards,
Aleksandar

---

Aleksandar Mitrovic
mikroElektronika [Support Department]

Ticket Details
Ticket ID: PLM-187-56122

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: STM32f746ZG 304- Argument out of range error

#9 Post by Aleksandar.Mitrovic » 08 Apr 2016 15:21

Hi,

I found it.

You have send me this files from the different account and email.

Answer me on that ticket please.

Regards,
Aleksandar

qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

Re: STM32f746ZG 304- Argument out of range error

#10 Post by qwepoi » 11 Apr 2016 11:30

Any luck finding the issue Aleksander ?

qwepoi
Posts: 68
Joined: 14 Apr 2013 14:14

Re: STM32f746ZG 304- Argument out of range error

#11 Post by qwepoi » 04 May 2016 19:13

I have 4.7.4 installed , still the same problems ??! Any idea when we get the issue fixed ?

Post Reply

Return to “mikroPascal PRO for ARM General”