TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Object Limit 32k

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5280
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
Phil Mack



Joined: 01 Nov 2006
Posts: 2

PostPosted: 01.11.2006, 15:10    Post subject: Object Limit 32k Reply with quote

Hi,

I'm building an object file with the commands:

m68k-elf-gcc -Wall -m5307 -Wl,-elf2flt -Os error.c dsw.c grab_file.c -o dsw -lc

However, when the code size is >32K the program does not run. If the output file is less than 32k it runs fine. I'm using the gcc commands that come with the PDF files.

I'm sure there must be a way to support large executable files as for example vi is 40k
Back to top
View user's profile Send private message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 02.11.2006, 11:19    Post subject: 32 Kbytes limit ... Reply with quote

Hi.

There is no 32 Kbytes limit. I think the reason can be within your data structures. Please check your code. How many data space is necessary (heap, stack) for your application?

Regards

Klaus
Back to top
View user's profile Send private message
Phil Mack



Joined: 01 Nov 2006
Posts: 2

PostPosted: 02.11.2006, 15:07    Post subject: Reply with quote

I was doing some more digging about (up till 3am) then it hit me....

I left the program (called dsw) running while I did something else and notice on the console of the DNP/5280 the NFS mount going off and online and the Ethernet port flashing like mad.

What I do is mount my home directory from my Linux deployment system and just run the code from the DNP/5278 from the mounted file. This as it happens is the issue. The default mount is:

172.31.0.1:/home/phil on /home/phil type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=172.31.0.1)

As you can see the 32k R/W option. I move the program direct onto the DNP/5280 flash and it worked fine! i.e. running /home/phil/dsw failed, while /home/dsw worked fine.

Sorry to bother you.
Phil
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5280 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015