in PIC32mz ROM_ORIGIN symbol not working in output hex file - pic32

I'm working with PIC32MZ1024EFK064 and MPLAB X IDE V6.00 .
when I change ROM_ORIGIN to 0x1D040000 in harmony 3.0 project configurations , in hex file still start address is 0x1D000000 .
why???
Thanks .

Related

Dynamically use current date in OUTPUT EXPORT filename

Stripped down example code using a static file name:
OUTPUT EXPORT /CONTENTS EXPORT=ALL /PDF DOCUMENTFILE='example.pdf'
My question is how to generate a datestamped file. I have tried using $DATE, '$DATE' and running it through a macro but can't seem to find the syntax.
Hey this is a really nice Idea for saving backups in a running syntax production - I will use this myself from now on :) .
So the following syntax works for me:
compute tdy= $time.
formats tdy (date11).
temporary.
select if $casenum=1.
write out="somepath\datemacro.sps" /"define !dated__filename () !quote(!concat('YOUR FILE NAME',' ','", tdy, "','.pdf')) !enddefine.".
exe.
Insert file ="somepath\datemacro.sps".
delete vars tdy.
The file name you used in the code above is now stored in a macro with the date added, and you can use it here:
OUTPUT EXPORT /CONTENTS EXPORT=ALL /PDF DOCUMENTFILE= !dated__filename .
Note that you can change "YOUR FILE NAME" into anything you like, including adding a path. And you can also change ".pdf" so save other kinds of files.
EDIT: Also of course change "somepath" to a valid path on your machine.

Xcode 10, could not decode input file using specific encoding

I am working on an iOS app. It is working fine in Xcode 9.4.1, but when I build it in Xcode 10 it gives me following error:
I tried the solution given in the following post by changing the encoding, but it didn't work. I tried it by both Reinterpret and Convert
still the same error:
It's working fine on Xcode 9.4.1
Find your Localizable.strings in a Terminal and execute:
$ iconv -f UTF-16LE -t UTF-8 Localizable.strings > LocalizableNew.strings
Then check LocalizableNews.string
and if there is no errors just replace files
$ mv LocalizableNew.strings Localizable.strings
I have similar error once i open my project in Xcode 10.4 and open it agian in Xcode 10.1.
I solved it by selecting my all Localizable.strings file and change there text encoding to UTF-16(In my case error was related to UTF-16 you can change it to UTF-8)
So changing the text encoding to UTF-16 or UTF-8 will works.
It sounds like the file is corrupted, probably with parts of it encoded in UTF-8 and parts of it encoded in 8859-5. From its name, I would suspect this is a Cyrillic localization (perhaps Russian), and the file was probably edited using an editor that didn't correctly maintain encoding or use UTF-8 (the most common cause of that is editing on Windows).
You'll need to open the file, probably in an external editor that can handle random encodings like vim or Sublime Text, and fix any corruption. Exactly how to do that depends on the nature of the corruption.
You need to set correct Text Encoding in the File Inspector. The default is UTF-8.
If you want to fix the problem without UI, you need to look for the XCode project definition (generally YOURPROJECT.xcodeproj/project.pbxproj), then find the reference to the file causing an issue.
You should find something like this (from Adium, in this case)
D182F1B611DFF23700E33AE2 /* sk */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/schema.strings; sourceTree = "<group>"; };
fileEncoding = 10 is UTF-16; 4 is UTF-8, which is currently the default, so you can either set it to that value explicitely, or simply remove the fileEncoding bit altogether.
I got this error message when I forgot to put semicolons at the end of the line to separate the individual translations.

No password mask and wrong events after upgrading team developer 3 to 6

do you know why some class things changed after upgrading from 3.1 to 6.3 SP2?
For example our Password fields ... The Format property is Class default - correct is Invisible.
Thanks in Advance for any tips!
Did you first save all your files as text ( .apt ), not Binary ( .apl or .app ) .
Best Tip: Don't use the 'Migration Wizard' .
After saving as Text, you should open each file in TD6.3 to do the conversion. Don't double click from File Explorer to open , but open from within TD itself.
Have done many upgrades this way , and never a problem.
Also , are you running on a TD6.3 certified O/S i.e. not Win XP , else unexpected results in conversion. See Compatibility Matrix to be sure: http://www.guptatechnologies.com/Products/App_Dev/TeamDeveloper/TeamDeveloperCompatibilityMatrix.aspx
Being a 50 mB APT implies you have 'Merged' all the apl's first. ? You cant do this and then convert without loosing settings. - You must save each individual .apl ( and any .app's ) as Text ( do not 'Merge' anything ) . To save each apl as Text , 'Save As' --> Select 'save as Type' --> 'Text( *.apt )' --> your file name will revert to xxx.apt before you Save it , so change it at this point to xxx.apl --> Then click Save. This way your .apl will Save as Text , but with a ',apl' prefix . From past experience , converting ( upgrading ) a Merged file will never work .

Print special characters in console

In my console (XP), the following line echo "áéíóú" in a utf-8 encoded file prints this:
├í├®├¡├│├║
Im not sure if this is something i have to handle in nim.
I am not sure if it works on Windows XP, but if you have Windows 8.1 your Nim code should be fine provided that in your console you change code page to UTF-8 with the following command:
chcp 65001
You need Lucida Console font too.
Keep in mind that in the Output window of Aporia editor you don't need to change anything in order to see the correct characters.

Tesseract for iOS 7

I now have the following problem and hope one of you can help me!
I have now Intergrated the new framework of Tesseract in my project and it worked very well the last 2 months . Now I wanted to continue to work on my app and all of a sudden I have been getting a error warning.
This :
DATAPATH / var/mobile/Applications/A5A474B0-53E8-4C16-87CD-DE23B9CA1173/Documents/tessdata
Error opening datafile / var/mobile/Applications/A5A474B0-53E8-4C16-87CD-DE23B9CA1173/Documents/tessdata/deu.traineddata
Please make sure the environment variable is set TESSDATA_PREFIX to the parent directory of your " tessdata " directory .
Failed loading language ' eng '
Error opening datafile / var/mobile/Applications/A5A474B0-53E8-4C16-87CD-DE23B9CA1173/Documents/tessdata/eng.traineddata
Please make sure the environment variable is set TESSDATA_PREFIX to the parent directory of your " tessdata " directory .
Failed loading language ' tight '
Tesseract could not load any languages ​​!
How can it be that I can not find any more languages ​​it! I have not changed anything . It's all still the same ! I hope someone can help me to solve the problem quickly!
Its because your document folder does not contain language file. You need to save language file in Document folder before initialise Tesseract. Please see my answer for similar question here

Resources