-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

First of all, thank you for your answers (Michiel and JMGross).

You both assumed that I've tried to use more than 64KB, but I didn't do it yet. 
The only thing I have tried was to install MSP430X and compile a simple program 
with around 16KB, what resulted in a strange behavior that looks like reset.

- From this I can conclude that the new Assembly opcodes cause trouble even if 
everything is below 64KB. As Michiel told me, if I try to use the -mdata-64k it 
should work but that's not the case. The only way of making it work was to use 
both -mdata-64k and -mcode-64k. If I try to use only -mcode-64k, I get problems 
with variables (for instance when trying to print an integer) but the board 
doesn't enter the reset state. In the opposite, if I use only -mdata-64k the 
board keeps resetting as before.

Is there anything I can do? I've checked the generated Assembly without those 
-mdata-64k and -mcode-64k flags and it looks like that the new opcodes are in 
use everywhere (for instance, CALLA and RETA).

Best regards,

André Gomes

A 2011/01/12, às 17:03, Michiel Konstapel escreveu:

> Try only disabling data with -mdata-64k. IIRC, several library functions, 
> like printf, don't support 20-bit data pointers and will cause a crash. That 
> will allow you to use the extra flash and shouldn't limit you in terms of 
> RAM, but as JMGross mentioned, be careful when passing pointers to stuff in 
> .fartext, because the code handling them would need to support 20 bit 
> pointers.
> HTH
> 
>> -----Original Message-----
>> From: André Gomes [mailto:[email protected]]
>> Sent: dinsdag 11 januari 2011 15:19
>> To: [email protected]
>> Subject: [Mspgcc-users] MSP430X Problem
>> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Hi all,
>> 
>> I'm currently working with the MSP430X tool chain to go beyond the 64KB
>> limit of the 16bit architecture of MSP430F2617.
>> 
>> After installing it, the compilation process works fine but after
>> uploading the binary to a board based on the MSP430F2617 the system
>> keeps rebooting. This only happens when using MSP430X, as when I tested
>> with the regular MSP430 tool chain it worked perfectly (with the 64KB
>> limitation). In fact, if I disable the .fartext support using the flags
>> -mcode-64k and -mdata-64k it also works.
>> 
>> Does anyone have any idea? Thanks in advance.
>> 
>> Best regards,
>> 
>> - --
>> André Gomes
>> 
>> Laboratory of Communications and Telematics
>> CISUC - University of Coimbra - Portugal
>> 
>> http://student.dei.uc.pt/~asng
>> 
>> 
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (Darwin)
>> 
>> iEYEARECAAYFAk0sZtIACgkQpE7dOqg2XFINLwCePyNu8ou9P+1c8lgYSc+wXbAj
>> 6e4AoIoW6nMNI23osLD7muOc3CMH7s1Q
>> =tIUr
>> -----END PGP SIGNATURE-----
>> 
>> -----------------------------------------------------------------------
>> -------
>> Gaining the trust of online customers is vital for the success of any
>> company
>> that requires sensitive data to be transmitted over the Web.   Learn
>> how to
>> best implement a security strategy that keeps consumers' information
>> secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Mspgcc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

- --
André Gomes

Laboratory of Communications and Telematics
CISUC - University of Coimbra - Portugal

http://student.dei.uc.pt/~asng


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAk0t84YACgkQpE7dOqg2XFK+2QCcCu1XwWDVxo3s+YhFreTkhKdi
RF8An2opLX3ulLA0vInW75Zb/sTawbEd
=dx14
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to